Skip to content

Commit 376dd42

Browse files
committed
add comment
1 parent 0463f20 commit 376dd42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/server/src/workspace/gitpod-server-impl.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
311311
log.debug({ userId: this.userID }, `clientRegion: ${clientHeaderFields.clientRegion}`);
312312
log.debug({ userId: this.userID }, "initializeClient");
313313

314+
// Only browser clients of the WebSocket API are considered relevant to receive updates
315+
// about workspace instances and prebuilds, PAPI server and ather clients are not.
314316
if (this.client && clientMetadata.type === "browser") {
315317
this.shouldNotifyClients = true;
316318
}

0 commit comments

Comments
 (0)