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