refactor: убрана ручная project.subscribe (Tracker auto-subscribes)

This commit is contained in:
Markov 2026-02-24 23:24:55 +01:00
parent db90b64f54
commit e76e84ffc0

View File

@ -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();