Skip to content

Commit

Permalink
Do not run updater on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksTeresh committed Oct 7, 2024
1 parent 8807ddb commit 9bf8add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/util/cron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { UPDATER_CRON_ENABLED, inDevelopment } from '../../config'
const setupCron = async () => {
logger.info('Starting cron jobs')

if (true || inDevelopment) {
if (inDevelopment) {
await runUpdater()
} else if (UPDATER_CRON_ENABLED) {
cron.schedule('45 0,12 * * *', runUpdater) // Run updater every 12 hours
Expand Down

0 comments on commit 9bf8add

Please sign in to comment.