mirror of
https://github.com/sune-org/ORP.git
synced 2026-01-14 08:38:16 +00:00
Update index.js
This commit is contained in:
2
index.js
2
index.js
@@ -6,7 +6,7 @@ const BATCH_BYTES = 2048;
|
|||||||
// SNAPSHOT_MIN_MS is no longer needed as we removed throttled saving.
|
// SNAPSHOT_MIN_MS is no longer needed as we removed throttled saving.
|
||||||
|
|
||||||
// Heartbeat configuration: run every 4s while streaming to prevent eviction.
|
// Heartbeat configuration: run every 4s while streaming to prevent eviction.
|
||||||
const HB_INTERVAL_MS = 4000;
|
const HB_INTERVAL_MS = 3000;
|
||||||
const MAX_RUN_MS = 15 * 60 * 1000;
|
const MAX_RUN_MS = 15 * 60 * 1000;
|
||||||
|
|
||||||
const CORS_HEADERS = {
|
const CORS_HEADERS = {
|
||||||
|
|||||||
Reference in New Issue
Block a user