Skip to content

Commit c50e774

Browse files
committed
more debug
1 parent 2237006 commit c50e774

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/server/src/messaging/redis-subscriber.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ export class RedisSubscriber {
207207
return Disposable.create(() => {
208208
const ls = listeners!;
209209
const idx = ls.findIndex((l) => l === listener);
210+
console.log(`GITPOD-SERVER disposal of subscriber, key ${key}, listener index ${idx}`);
210211
if (idx !== -1) {
211212
ls.splice(idx, 1);
212213
updateSubscribersRegistered.labels(type).dec();

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ export class GitpodServerImpl implements GitpodServerWithTracing, Disposable {
337337
);
338338

339339
for (const projectId of projects) {
340-
this.disposables.pushAll([this.subscriber.listenForPrebuildUpdates(projectId, handler)]);
340+
this.disposables.push(this.subscriber.listenForPrebuildUpdates(projectId, handler));
341341
}
342342

343343
// TODO(at) we need to keep the list of accessible project up to date

0 commit comments

Comments
 (0)