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.reconnectDelay = 1000;
|
||||||
this.startHeartbeat();
|
this.startHeartbeat();
|
||||||
|
|
||||||
// Subscribe to all projects
|
// Projects are auto-subscribed by Tracker on auth
|
||||||
for (const project of this.projects) {
|
this.log.info('Auto-subscribed to %d projects: %s', this.projects.length,
|
||||||
this.log.info('→ Subscribing to project: %s (%s)', project.slug, project.id);
|
this.projects.map(p => p.slug).join(', ') || '(none)');
|
||||||
this.send('project.subscribe', { project_id: project.id });
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.resolveStart) {
|
if (this.resolveStart) {
|
||||||
this.resolveStart();
|
this.resolveStart();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user