mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
fix(api): order service timeouts so inner hops expire first (#2131)
This commit is contained in:
1 parent
9d1733bdb3
commit
e14d193b43
5 files changed
+21
-5
No files matched your search
@@ -34,7 +34,7 @@ import type {WorkerTaskName} from '../worker/WorkerLaneConfig';
|
||||
const DEFAULT_SNOWFLAKE_SERVICE_BATCH_SIZE = 128;
|
||||
const DEFAULT_SNOWFLAKE_SERVICE_LOW_WATERMARK = 32;
|
||||
const DEFAULT_SNOWFLAKE_SERVICE_MAX_BUFFER_AGE_MS = 5000;
|
||||
const DEFAULT_SNOWFLAKE_SERVICE_REQUEST_TIMEOUT_MS = 5000;
|
||||
const DEFAULT_SNOWFLAKE_SERVICE_REQUEST_TIMEOUT_MS = 6000;
|
||||
|
||||
function readPositiveIntegerEnv(names: string | Array<string>, fallback: number): number {
|
||||
const envNames = Array.isArray(names) ? names : [names];
|
||||
|
||||
Reference in new issue
Block a user