diff options
Diffstat (limited to 'src/tasks/updateCache.ts')
-rw-r--r-- | src/tasks/updateCache.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tasks/updateCache.ts b/src/tasks/updateCache.ts index 9084c1c..3794f76 100644 --- a/src/tasks/updateCache.ts +++ b/src/tasks/updateCache.ts @@ -1,3 +1,4 @@ +import { Time } from '#constants'; import { Global, Guild, Shared, type BushClient } from '#lib'; import { BushTask } from '../lib/extensions/discord-akairo/BushTask.js'; import config from './../config/options.js'; @@ -5,7 +6,7 @@ import config from './../config/options.js'; export default class UpdateCacheTask extends BushTask { public constructor() { super('updateCache', { - delay: 300_000, // 5 minutes + delay: 5 * Time.Minute, runOnStart: false // done in preinit task }); } |