mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 17:04:13 +00:00
Update docs/docs/docs/01-core/database/02-transactions.md
Co-authored-by: Ben Irvin <ben@innerdvations.com>
This commit is contained in:
parent
13c1d0db2c
commit
abfcb0c194
@ -100,3 +100,5 @@ Transactions should not be used for operations that are not dependent on each ot
|
||||
Performing multiple operations within a transaction can lead to locking, which can block the execution of transactions from other processes until the original transaction is complete.
|
||||
|
||||
Furthermore, transactions can stall if they are not committed or rolled back appropriately.
|
||||
|
||||
For example, if a transaction is opened but there is a path in your code that does not close it, the transaction will be left open indefinitely and could cause instability until your server is restarted and the connection is forced to close. These issues can be difficult to debug, so use transactions with care in the cases they are necessary.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user