We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f9a0fb commit 8781d75Copy full SHA for 8781d75
1 file changed
apps/roam/src/utils/syncDgNodesToSupabase.ts
@@ -28,10 +28,10 @@ import { FatalError } from "@repo/database/lib/contextFunctions";
28
29
const SYNC_FUNCTION = "embedding";
30
// Minimal interval between syncs of all clients for this task.
31
-const SYNC_INTERVAL = "45s";
+const SYNC_INTERVAL = "130s";
32
// Interval between syncs for each client individually
33
const BASE_SYNC_INTERVAL = 5 * 60 * 1000; // 5 minutes
34
-const SYNC_TIMEOUT = "20s";
+const SYNC_TIMEOUT = "60s"; // must be less than half the SYNC_INTERVAL.
35
const BATCH_SIZE = 200;
36
const DEFAULT_TIME = new Date("1970-01-01");
37
0 commit comments