Skip to content

Commit

Permalink
Log queue_options correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
johha committed Oct 11, 2024
1 parent 9aa2296 commit 914f28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed_job/delayed_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def clear_locks!
BackgroundJobEnvironment.new(config).setup_environment(readiness_port)

logger = Steno.logger('cc-worker-clear-locks')
logger.info("Clearing pending locks with options #{@queue_options}")
logger.info("Clearing pending locks with options {#{@queue_options.map { |k, v| "#{k}: #{v.inspect}" }.join(', ')}}")
setup_app_log_emitter(config, logger)

worker = get_initialized_delayed_worker(config, logger)
Expand Down

0 comments on commit 914f28b

Please sign in to comment.