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 0666dd6 commit bc9975dCopy full SHA for bc9975d
packages/service-core/src/entry/commands/compact-action.ts
@@ -34,7 +34,7 @@ export function registerCompactAction(program: Command) {
34
const client = mongo.createMongoClient(storage);
35
await client.connect();
36
try {
37
- const psdb = new PowerSyncMongo(client);
+ const psdb = new PowerSyncMongo(client, { database: storage.database });
38
const bucketStorage = new MongoBucketStorage(psdb, { slot_name_prefix: config.slot_name_prefix });
39
const active = await bucketStorage.getActiveSyncRules();
40
if (active == null) {
0 commit comments