-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Dear maintainers, users,
I tried using an upcoming unreleased version of Unicorn, and there was a new arity, so we may need changes.
Clues:
2024-07-05T11:05:18.936641+00:00 app[web.1]: E, [2024-07-05T13:05:18.936540 #20] ERROR -- : listen loop error: wrong number of arguments (given 2, expected 1) (ArgumentError)
2024-07-05T11:05:18.936667+00:00 app[web.1]: E, [2024-07-05T13:05:18.936639 #20] ERROR -- : /opt/gems/ruby/3.2.0/gems/unicorn-worker-killer-0.4.5/lib/unicorn/worker_killer.rb:52:in process_client' 2024-07-05T11:05:18.936708+00:00 app[web.1]: E, [2024-07-05T13:05:18.936684 #20] ERROR -- : /opt/gems/ruby/3.2.0/bundler/gems/unicorn-6215d4cad7a9/lib/unicorn/http_server.rb:707:in worker_loop'
Yes, having looked, the new call is like this:
process_client(*client_ai)
https://github.com/defunkt/unicorn/blob/master/lib/unicorn/http_server.rb#L708