diff options
-rw-r--r-- | lib/zbatery.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zbatery.rb b/lib/zbatery.rb index 6f2a474..ce542d6 100644 --- a/lib/zbatery.rb +++ b/lib/zbatery.rb @@ -125,6 +125,7 @@ module Rainbows # master == worker in our case def init_worker_process(worker) after_fork.call(self, worker) + worker.user(*user) if user.kind_of?(Array) && ! worker.switched build_app! unless preload_app logger.info "Zbatery #@use worker_connections=#@worker_connections" end |