mirror of
https://github.com/ZHANGTIANYAO1/teamspeak-music-bot.git
synced 2026-10-02 04:52:50 +08:00
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:
1 parent
657c198a37
commit
b9fe770ab1
3 files changed
+169
-33
No files matched your search
@@ -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). */
|
||||
|
||||
Reference in new issue
Block a user