Skip to content

Commit

Permalink
Fix option
Browse files Browse the repository at this point in the history
  • Loading branch information
klesgidis committed Jan 28, 2023
1 parent 035a66a commit e31d4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attorney.js
Expand Up @@ -205,7 +205,7 @@ function applyArchiveFailedConfig (config) {
config.archiveFailedSeconds = config.archiveFailedAfterSeconds || ARCHIVE_DEFAULT
config.archiveFailedInterval = `${config.archiveFailedSeconds} seconds`

if (config.archiveSeconds < 60) {
if (config.archiveFailedSeconds < 60) {
emitWarning(WARNINGS.CRON_DISABLED)
}
}
Expand Down

0 comments on commit e31d4ad

Please sign in to comment.