Class: Merb::BootLoader::DisconnectBeforeStartTransaction
- Inherits:
-
Merb::BootLoader
- Object
- Merb::BootLoader
- Merb::BootLoader::DisconnectBeforeStartTransaction
- Defined in:
- lib/merb_sequel.rb
Overview
Disconnects from DB before starting reloading classes
We must disconnect from the DB before the worker process dies to be nice and not cause IO blocking.
Disconnect only when fork_for_class_relaod is set and we’re not in testing mode.