Skip to content

Commit 0463f20

Browse files
committed
fixup todo
1 parent 4b5ae11 commit 0463f20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
464464
//
465465
const ws = await this.workspaceDb.trace(ctx).findById(workspaceID);
466466
const relatedPrebuildFound = !!ws && !!wsi && ws.ownerId !== this.userID;
467-
if (this.client && relatedPrebuildFound) {
467+
if (this.shouldNotifyClients && relatedPrebuildFound) {
468468
const resetListenerFromRedis = this.subscriber.listenForWorkspaceInstanceUpdates(
469469
ws.ownerId,
470470
(ctx, instance) => {

0 commit comments

Comments
 (0)