docs/FORK_SAFETY.md in pitchfork-0.10.0 vs docs/FORK_SAFETY.md in pitchfork-0.11.0

- old
+ new

@@ -20,15 +20,19 @@ reopen connections and restart threads: ```ruby # pitchfork.conf.rb -after_mold_fork do +before_fork do Sequel::DATABASES.each(&:disconnect) end -after_worker_fork do +after_mold_fork do SomeLibary.connection.close +end + +after_worker_fork do + SomeOtherLibary.connection.close end ``` The documentation of any database client or network library you use should be read with care to figure out how to disconnect it, and whether it is best to