diff --git a/frontend/src/plugins/remote/socket.ts b/frontend/src/plugins/remote/socket.ts index 1b0cedf0..9c0581c2 100644 --- a/frontend/src/plugins/remote/socket.ts +++ b/frontend/src/plugins/remote/socket.ts @@ -35,11 +35,17 @@ class RemotePluginSocket { private readonly _keepAliveMessage = 'KeepAlive'; private readonly _forceKeepAliveMessage = 'ForceKeepAlive'; + private readonly _updateInterval = '0,1'; /** * Formats the message to be sent to the socket */ private readonly _webSocket = useWebSocket(this._socketUrl, { - autoReconnect: { retries: () => true } + autoReconnect: { retries: () => true }, + onConnected: () => { + this.sendToSocket('ScheduledTasksInfoStart', this._updateInterval); + this.sendToSocket('ActivityLogEntryStart', this._updateInterval); + this.sendToSocket('SessionsStart', this._updateInterval); + } }); private readonly _parsedmsg = computed(() => destr(this._webSocket.data.value));