feat(spotify): retry/backoff on Connect commands (device-latency/flakiness watchdog) [S4.6]

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
saopig1andClaude Opus 4.8 committed 2026-07-03 01:09:00 +08:00
1 parent 657c198a37
commit b9fe770ab1
3 files changed
+169 -33

No files matched your search

+4 -1
View File
@@ -128,7 +128,10 @@ export class SpotifyController extends EventEmitter {
),
});
this.connect =
o.connect ?? new SpotifyConnectApi(() => this.oauth.getAccessToken());
o.connect ??
new SpotifyConnectApi(() => this.oauth.getAccessToken(), {
logger: this.logger,
});
}
/** Shared OAuth client (web router + Rust backend reuse this instance). */