diff options
Diffstat (limited to 'src/tasks/updatePriceItemCache.ts')
-rw-r--r-- | src/tasks/updatePriceItemCache.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tasks/updatePriceItemCache.ts b/src/tasks/updatePriceItemCache.ts index 096354b..6414eb0 100644 --- a/src/tasks/updatePriceItemCache.ts +++ b/src/tasks/updatePriceItemCache.ts @@ -1,11 +1,11 @@ -import { BushTask } from '#lib'; +import { BushTask, Time } from '#lib'; import got from 'got'; import PriceCommand, { AuctionAverages, Bazaar, LowestBIN } from '../commands/utilities/price.js'; export default class UpdatePriceItemCache extends BushTask { public constructor() { super('updatePriceItemCache', { - delay: 600_000, // 10 minutes + delay: 10 * Time.Minute, runOnStart: true }); } |