We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff9ffc commit 9f22d2eCopy full SHA for 9f22d2e
packages/powersync_core/lib/src/sync/streaming_sync.dart
@@ -403,6 +403,7 @@ class StreamingSyncImplementation implements StreamingSync {
403
if (tokenExpiresIn == 0) {
404
// Token expired already - stop the connection immediately
405
connector.prefetchCredentials(invalidate: true).ignore();
406
+ shouldStopIteration = true;
407
break;
408
} else if (tokenExpiresIn <= 30) {
409
// Token expires soon - refresh it in the background
0 commit comments