Skip to content

Commit

Permalink
refactor(socket): simplify autoReconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
ferferga authored Dec 26, 2024
1 parent 1735dfa commit 283ba5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/plugins/remote/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class RemotePluginSocket {
* Formats the message to be sent to the socket
*/
private readonly _webSocket = useWebSocket(this._socketUrl, {
autoReconnect: { retries: () => true },
autoReconnect: true,
onConnected: () => {
this.sendToSocket('ScheduledTasksInfoStart', this._updateInterval);
this.sendToSocket('ActivityLogEntryStart', this._updateInterval);
Expand Down

0 comments on commit 283ba5d

Please sign in to comment.