Skip to content

Commit

Permalink
Change dev timer on db update
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaUrsa committed Dec 25, 2023
1 parent 7a87132 commit e2a0254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/global/utils/timer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ async function runTimer() {
{ callback: checkStats, interval: env.NODE_ENV === 'production' ? minutes5 : seconds5 },
{ callback: checkMoodle, interval: env.NODE_ENV === 'production' ? seconds60 : seconds5 },
// { callback: checkLpm, interval: env.NODE_ENV === 'production' ? seconds10 : seconds5 },
{ callback: updateDb, interval: env.NODE_ENV === 'production' ? hours24 : seconds5 },
{ callback: updateDb, interval: env.NODE_ENV === 'production' ? hours24 : minutes5 },
];

timers.forEach(timer => {
Expand Down

0 comments on commit e2a0254

Please sign in to comment.