You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a plugin developer,
I want to get backend processing tasks asynchronously,
So the plugin wouldn't need to adjust timeouts based on the time backend needs to complete background tasks.
The plugin uses ping-pong mechanism to understand whether the server is still online while processing background tasks. The problem is that answer to a specific message is sent only after answers to all previous messages has been sent. So at this moment message flow over websocket (simplified) looks like this:
AlexeyGirin
changed the title
увеличен ping timeout сервера до 30 секунд (pingTimeout), чтобы нивелировать ошибки от долгого ожидания ответа от be;
Увеличен ping timeout сервера до 30 секунд (pingTimeout), чтобы нивелировать ошибки от долгого ожидания ответа от be;
Aug 2, 2024
ivnglkv
changed the title
Увеличен ping timeout сервера до 30 секунд (pingTimeout), чтобы нивелировать ошибки от долгого ожидания ответа от be;
Fix communication over websocket so it will become truly asynchronous
Aug 6, 2024
As a plugin developer,
I want to get backend processing tasks asynchronously,
So the plugin wouldn't need to adjust timeouts based on the time backend needs to complete background tasks.
The plugin uses ping-pong mechanism to understand whether the server is still online while processing background tasks. The problem is that answer to a specific message is sent only after answers to all previous messages has been sent. So at this moment message flow over websocket (simplified) looks like this:
The correct flow would be
The text was updated successfully, but these errors were encountered: