1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix client middleware sample

This commit is contained in:
Mike Perham 2013-11-14 20:30:11 -08:00
parent d40f7cc6af
commit e087bb3160

View file

@ -49,13 +49,16 @@ module Sidekiq
# end
# end
#
# This is an example of a minimal client middleware:
# This is an example of a minimal client middleware, note
# the method must return the result or the job will not push
# to Redis:
#
# class MyClientHook
# def call(worker_class, msg, queue)
# puts "Before push"
# yield
# result = yield
# puts "After push"
# result
# end
# end
#