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
When connecting to a workspace over SSH, we run the following code to show a spinny indicator. If not otherwise specified, AgentOptions.FetchInterval defaults to 500ms.
This never stops running, meaning that 100 workspace connections over SSH equate to 200 requests to /api/v2/workspaceagents/{workspaceagent} per second.
Proposed solution
Once we're connected to the workspace we probably don't need to continue fetching the agent. Just stop the ticker once the connection is established.