lib/pitchfork/http_server.rb in pitchfork-0.11.0 vs lib/pitchfork/http_server.rb in pitchfork-0.11.1

- old
+ new

@@ -720,10 +720,11 @@ @request = Pitchfork::HttpParser.new env = @request.read(client) proc_name status: "requests: #{worker.requests_count}, processing: #{env["PATH_INFO"]}" + env["pitchfork.worker"] = worker timeout_handler.rack_env = env env["pitchfork.timeout"] = timeout_handler if early_hints env["rack.early_hints"] = lambda do |headers| @@ -1047,10 +1048,10 @@ w.puts(pid) w.close exit end else - clean_fork(&block) + Pitchfork.clean_fork(&block) end end def process_wait_with_timeout(pid, timeout) (timeout * 50).times do