mirror of
https://github.com/outline/outline.git
synced 2026-08-03 13:27:25 +03:00
fix: Lock contention on documents.create (#13149)
* wip * fix: Lock contention on documents.create * revert
This commit is contained in:
@@ -1088,7 +1088,7 @@ class Document extends ArchivableModel<
|
||||
const collection = await Collection.findByPk(this.collectionId, {
|
||||
includeDocumentStructure: true,
|
||||
transaction,
|
||||
lock: Transaction.LOCK.UPDATE,
|
||||
lock: Transaction.LOCK.NO_KEY_UPDATE,
|
||||
});
|
||||
|
||||
if (collection) {
|
||||
|
||||
Reference in New Issue
Block a user