Skip to content

Commit be4326e

Browse files
committed
Merge pull request #508 from badboy/patch-1
Force a disconnect after fork
2 parents c48d9d1 + b651d62 commit be4326e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/unicorn/unicorn.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616
# worker processes.
1717

1818
after_fork do |server, worker|
19-
Redis.current.quit
19+
Redis.current.disconnect!
2020
end

0 commit comments

Comments
 (0)