mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Log server-side middleware chain on startup for debugging purposes
This commit is contained in:
parent
79d672dbc5
commit
59f8aeb5cb
1 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,10 @@ module Sidekiq
|
||||||
|
|
||||||
fire_event(:startup)
|
fire_event(:startup)
|
||||||
|
|
||||||
|
logger.debug {
|
||||||
|
"Middleware: #{Sidekiq.server_middleware.map(&:klass).join(', ')}"
|
||||||
|
}
|
||||||
|
|
||||||
Sidekiq.redis do |conn|
|
Sidekiq.redis do |conn|
|
||||||
# touch the connection pool so it is created before we
|
# touch the connection pool so it is created before we
|
||||||
# launch the actors.
|
# launch the actors.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue