Skip to content

Commit 87c3e99

Browse files
committed
Actually is using server-sent events
1 parent cb95d39 commit 87c3e99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workspacesProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
7373
return Promise.resolve(this.workspaces)
7474
}
7575

76-
// monitorMetadata opens a web socket to monitor metadata on the specified
76+
// monitorMetadata opens an SSE endpoint to monitor metadata on the specified
7777
// agent and registers a disposer that can be used to stop the watch.
7878
monitorMetadata(agentId: WorkspaceAgent["id"], token: string): void {
7979
const agentMetadataURL = new URL(`${this.storage.getURL()}/api/v2/workspaceagents/${agentId}/watch-metadata`)

0 commit comments

Comments
 (0)