mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-07-24 05:11:11 +02:00
refactor: cleanup
This commit is contained in:
@@ -146,7 +146,7 @@ impl SyncSubscription {
|
||||
// Refresh the sync token before reconnecting. The token may have
|
||||
// expired while the stream was open (tokens last ~15 min); reusing
|
||||
// the construction-time token otherwise produces an endless 401
|
||||
// reconnect loop until the app is restarted (issue #440).
|
||||
// reconnect loop until the app is restarted.
|
||||
match Self::fetch_sync_token(source, &app_handle).await {
|
||||
Ok(Some(fresh)) => token = fresh,
|
||||
Ok(None) => {
|
||||
|
||||
Reference in New Issue
Block a user