refactor: убрана ручная project.subscribe (Tracker auto-subscribes)
This commit is contained in:
parent
db90b64f54
commit
e76e84ffc0
@ -215,11 +215,9 @@ export class WsClientTransport implements TaskTracker {
|
||||
this.reconnectDelay = 1000;
|
||||
this.startHeartbeat();
|
||||
|
||||
// Subscribe to all projects
|
||||
for (const project of this.projects) {
|
||||
this.log.info('→ Subscribing to project: %s (%s)', project.slug, project.id);
|
||||
this.send('project.subscribe', { project_id: project.id });
|
||||
}
|
||||
// Projects are auto-subscribed by Tracker on auth
|
||||
this.log.info('Auto-subscribed to %d projects: %s', this.projects.length,
|
||||
this.projects.map(p => p.slug).join(', ') || '(none)');
|
||||
|
||||
if (this.resolveStart) {
|
||||
this.resolveStart();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user