conversationJobQueue: Introduce RUNNING status, attempts and backoff

This commit is contained in:
Scott Nonnenberg 2024-05-06 17:33:50 -07:00 committed by GitHub
parent 99022e7e6b
commit 3e51e4ef5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 133 additions and 27 deletions

View file

@ -3,6 +3,8 @@
const SECOND = 1000;
export const FIBONACCI: ReadonlyArray<number> = [1, 2, 3, 5, 8, 13, 21, 34, 55];
export const FIBONACCI_TIMEOUTS: ReadonlyArray<number> = [
1 * SECOND,
2 * SECOND,