Skip to content

Commit 8781d75

Browse files
authored
ENG-1425 Bump sync timeout duration (#776)
1 parent 9f9a0fb commit 8781d75

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/roam/src/utils/syncDgNodesToSupabase.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ import { FatalError } from "@repo/database/lib/contextFunctions";
2828

2929
const SYNC_FUNCTION = "embedding";
3030
// Minimal interval between syncs of all clients for this task.
31-
const SYNC_INTERVAL = "45s";
31+
const SYNC_INTERVAL = "130s";
3232
// Interval between syncs for each client individually
3333
const BASE_SYNC_INTERVAL = 5 * 60 * 1000; // 5 minutes
34-
const SYNC_TIMEOUT = "20s";
34+
const SYNC_TIMEOUT = "60s"; // must be less than half the SYNC_INTERVAL.
3535
const BATCH_SIZE = 200;
3636
const DEFAULT_TIME = new Date("1970-01-01");
3737

0 commit comments

Comments
 (0)