Skip to content

Commit 22c9c24

Browse files
authored
Merge pull request #312 from ynput/enhancement/use-background-operations
Operations Session: Use background operations
2 parents 20f7215 + d13784c commit 22c9c24

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)