Change the Ownership Mode
Learn how to change the ownership mode while testing.
Types of ownership modes
The ownership mode affects the way the sandbox interacts with different processes. We can use the following three different modes.
:auto
:manual
:shared
The :auto
mode
With :auto,
the sandbox functions like a normal pool. Each process gets its own connection from the pool and has exclusive access to the connection while it is checked out. Moreover, like a normal pool, the connections are checked out automatically when our code needs to run a database operation and checked back in when the operation completes. The ...