14 lines
500 B
TypeScript
14 lines
500 B
TypeScript
/**
|
|
* Shared time intervals for the live API tests.
|
|
*
|
|
* Refer to these constants instead of hardcoding intervals in the suites.
|
|
*
|
|
* Local D1/KV rebuilds land in a few seconds, so both are tuned to 5s for local
|
|
* runs (60s is the production-KV figure).
|
|
*/
|
|
|
|
/** 1 second — the standard cache/rebuild poll timeout and stall-nudge threshold. */
|
|
export const SIXTY_SECONDS_MS = 1_000
|
|
|
|
/** 1 second — the short poll timeout and the Jest timeout buffer. */
|
|
export const THIRTY_SECONDS_MS = 1_000
|