Navigation Menu

Skip to content

Commit

Permalink
Use TERM signal to stop groonga-httpd instead of shutdown command
Browse files Browse the repository at this point in the history
Because it causes a bit memory leak.
  • Loading branch information
kou committed Jan 26, 2015
1 parent 514c633 commit ed85ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grntest/test-runner.rb
Expand Up @@ -298,7 +298,7 @@ def run_groonga_http(context)
end
yield(executor)
ensure
executor.shutdown
Process.kill(:TERM, pid)
wait_groonga_http_shutdown(pid_file_path)
end
ensure
Expand Down

0 comments on commit ed85ac3

Please sign in to comment.