Skip to content

Commit 8fafb77

Browse files
author
Mike Barnes
committed
Code formatting
1 parent 5f3a0a2 commit 8fafb77

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/powersync/System.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,8 @@ export const powerSync = new PowerSyncDatabase({
7272
await connector.signInAnonymously();
7373

7474
// Establish connection between PowerSync and the Supabase connector
75-
powerSync.connect(connector, { clientImplementation: SyncClientImplementation.RUST });
75+
powerSync.connect(connector, {
76+
// Rust based implementation is more efficient and faster than the JavaScript implementation
77+
clientImplementation: SyncClientImplementation.RUST,
78+
crudUploadThrottleMs: 5000
79+
});

0 commit comments

Comments
 (0)