Skip to content

Commit d13784c

Browse files
committed
use background operations for operations session
1 parent 20f7215 commit d13784c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ayon_api/operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -834,8 +834,8 @@ def commit(self) -> None:
834834
if body is not None:
835835
operations_body.append(body)
836836

837-
self._con.send_batch_operations(
838-
project_name, operations_body, can_fail=False
837+
self._con.send_background_batch_operations(
838+
project_name, operations_body, wait=True, can_fail=False
839839
)
840840

841841
def create_entity(

0 commit comments

Comments
 (0)