Skip to content

Commit afe4190

Browse files
CopilotFreekBes
andauthored
Increase job expiration timeout (#49)
--------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: FreekBes <36384333+FreekBes@users.noreply.github.com>
1 parent 6a8549c commit afe4190

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Fast42 {
7373
* This is useful if you want to run multiple instances of your application, and want to share the rate limit counters between them.
7474
*
7575
*/
76-
constructor(secrets: ApiSecret[], concurrentOffset: number = 0, jobExpiration: number = 20000, redisConfig?: RedisConfig) {
76+
constructor(secrets: ApiSecret[], concurrentOffset: number = 0, jobExpiration: number = 60000, redisConfig?: RedisConfig) {
7777
if (secrets.length === 0) {
7878
throw new Error("Fast42 requires at least one 42 Api Key/Secret pair")
7979
}

0 commit comments

Comments
 (0)