Skip to content

Commit ed30ade

Browse files
author
Yan Xu
committed
Fix bug
1 parent 8745516 commit ed30ade

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/server/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ const config = {
117117
NUM_JOBS_MAX: makeIntIfDefined(process.env.LOCAL_NUM_JOBS_MAX) || 2,
118118
},
119119
CRON: {
120-
// monitor workflow requests on every minute
121-
LOCAL_WORKFLOW_MONITOR: process.env.CRON_LOCAL_WORKFLOW_MONITOR_SCHEDULE || '*/1 * * * *',
122120
// Port number on which the cron web server will listen for HTTP requests.
123121
SERVER_PORT: makeIntIfDefined(process.env.CRON_SERVER_PORT) || 5555,
124122
// Number of days for which the system will preserve a project after a user opts to delete it.
125123
PROJECT_DELETION_GRACE_PERIOD_DAYS: makeIntIfDefined(process.env.PROJECT_DELETION_GRACE_PERIOD_DAYS) || 7,
126124
// Cron job schedules:
127125
// Reference: https://crontab.guru/ (cron schedule decoder)
128126
SCHEDULES: {
127+
// monitor workflow requests on every minute
128+
LOCAL_WORKFLOW_MONITOR: process.env.CRON_LOCAL_WORKFLOW_MONITOR_SCHEDULE || '*/1 * * * *',
129129
// monitor workflow requests on every 2 minutes
130130
CROMWELL_WORKFLOW_MONITOR: process.env.CRON_CROMWELL_WORKFLOW_MONITOR_SCHEDULE || '0-59/2 * * * *',
131131
// monitor cromwell jobs on every 2 minutes

0 commit comments

Comments
 (0)