Skip to content

Commit bb8724b

Browse files
committed
Fix handling of partial checkpoints in diagnostics app.
1 parent e6633be commit bb8724b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/diagnostics-app/src/library/powersync/RecordingStorageAdapter.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ export class RecordingStorageAdapter extends SqliteBucketStorage {
4141
});
4242
}
4343

44-
async syncLocalDatabase(checkpoint: Checkpoint) {
45-
const r = await super.syncLocalDatabase(checkpoint);
44+
async syncLocalDatabase(checkpoint: Checkpoint, priority?: number) {
45+
const r = await super.syncLocalDatabase(checkpoint, priority);
46+
4647
// Refresh schema asynchronously, to allow us to better measure
4748
// performance of initial sync.
4849
setTimeout(() => {

0 commit comments

Comments
 (0)