mirror of
https://github.com/neocities/neocities.git
synced 2025-08-03 08:11:56 +02:00
Fix HUP fork restart of database, and speed up postgres hits
This commit is contained in:
parent
a004489e43
commit
a0299d0e46
4 changed files with 10 additions and 1 deletions
|
@ -27,4 +27,8 @@ Rainbows! do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
after_fork do |server, worker|
|
||||
DB.disconnect
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue