Skip to content

Commit

Permalink
hotfix(keystone): decrease bull ttl for tasks (#5457)
Browse files Browse the repository at this point in the history
  • Loading branch information
sitozzz authored Nov 12, 2024
1 parent 3c9cd22 commit 499c8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/keystone/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const logger = getLogger('worker')

const QUEUES = new Map()

const KEEP_JOBS_CONFIG = { age: 60 * 60 * 24 * 30 } // 30 days
const KEEP_JOBS_CONFIG = { age: 60 * 60 * 24 * 14 } // 14 days
const GLOBAL_TASK_OPTIONS = { removeOnComplete: KEEP_JOBS_CONFIG, removeOnFail: KEEP_JOBS_CONFIG }
const TASKS = new Map()
const CRON_TASKS = new Map()
Expand Down

0 comments on commit 499c8b7

Please sign in to comment.