atoti_jdbc.DatabaseLocksConfig(The config for the database level locks of a user content storage. When
*,
polling_interval: timedelta =datetime.timedelta(seconds=300),
)
database_locks is None, the user content storage relies on locks scoped to the session’s JVM.
Such locks cannot prevent concurrent modifications made by the other sessions.
When several sessions share the same user content storage, database level locks must be used instead.
A session is not notified of the changes made by the other sessions, so it polls the database at a regular interval.
The database schema differs between the two kinds of locks.
Database locks must therefore be enabled on a new user content storage.
Enabling them on one created without them makes the session fail to start with a missing column error, leaving that storage unchanged.