Skip to content

Commit

Permalink
Update README.md (#83)
Browse files Browse the repository at this point in the history
Readme typo:
when queue_prefix is used, it gives: undefined local variable or method `queue_prefix' for main:Object
Added in config.queue_prefix
  • Loading branch information
vinnyFD committed Mar 15, 2023
1 parent 38fd2c0 commit 4fd8488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ SidekiqAlive.setup do |config|
# default: proc {}
#
# config.shutdown_callback = proc do
# Sidekiq::Queue.all.find { |q| q.name == "#{queue_prefix}-#{SidekiqAlive.hostname}" }&.clear
# Sidekiq::Queue.all.find { |q| q.name == "#{config.queue_prefix}-#{SidekiqAlive.hostname}" }&.clear
# end

# ==> Queue Prefix
Expand Down

0 comments on commit 4fd8488

Please sign in to comment.