Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicorn version after 6.1.0 breaks with this #79

Open
olleolleolle opened this issue Jul 5, 2024 · 0 comments
Open

Unicorn version after 6.1.0 breaks with this #79

olleolleolle opened this issue Jul 5, 2024 · 0 comments

Comments

@olleolleolle
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant