ConnectionProcessor is a swarrot processor.
The doctrine_close_master
option is useful because otherwise once connected
to the master the connection would never switch back to the slave.
Key | Default | Description |
---|---|---|
doctrine_ping | true | Ping and close timed out connections |
doctrine_close_master | true | Close MasterSlave connections connected to the master |
ObjectManagerProcessor is a swarrot processor.
It resets closed object managers after the processor ran, which is required after a failed transaction. It also clears the object managers which avoids memory leaks and hard to debug issues.