Skip to content

Commit 1fc7b9a

Browse files
committed
Merge pull request #1337 from opengisch/QF-5316-fix-delta-applied-by-several-jobs
edit(delta): fix delta applied by several jobs when users pushing around the same time
1 parent 133b65a commit 1fc7b9a

File tree

1 file changed

+1
-1
lines changed
  • docker-app/qfieldcloud/core/utils2

1 file changed

+1
-1
lines changed

docker-app/qfieldcloud/core/utils2/jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def apply_deltas(
4949
# so we better assume the deltas will reach a non-"pending" status.
5050
apply_jobs = models.ApplyJob.objects.filter(
5151
project=project,
52-
status=[
52+
status__in=[
5353
models.Job.Status.PENDING,
5454
models.Job.Status.QUEUED,
5555
models.Job.Status.STARTED,

0 commit comments

Comments
 (0)