Skip to content

Commit

Permalink
chore: Run build log archive job in dev and staging as well #4367
Browse files Browse the repository at this point in the history
  • Loading branch information
svenaas committed Jan 18, 2024
1 parent 8501ae6 commit 227f673
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/workers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ function pagesWorker(connection) {
];

const jobs = () => Promise.all([
appEnv === 'production'
? archiveBuildLogsQueue.add('archiveBuildLogsDaily', {}, nightlyJobConfig)
: Promise.resolve(),
archiveBuildLogsQueue.add('archiveBuildLogsDaily', {}, nightlyJobConfig),
failStuckBuildsQueue.add('failStuckBuilds', {}, everyTenMinutesJobConfig),
nightlyBuildsQueue.add('nightlyBuilds', {}, nightlyJobConfig),
scheduledQueue.add('sandboxNotifications', {}, nightlyJobConfig),
Expand Down

0 comments on commit 227f673

Please sign in to comment.