Skip to content

Commit

Permalink
changes to lock3
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivrij committed Oct 23, 2023
1 parent afc7702 commit 0fb3192
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/drc/api/serializers/enkelvoudig_informatieobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,10 @@ def _create_bestandsdeel(self, full_size, canonical):
for i in range(parts):
chunk_size = min(settings.CHUNK_SIZE, full_size)
BestandsDeel.objects.create(
informatieobject=canonical, omvang=chunk_size, volgnummer=i + 1, lock=canonical.lock
informatieobject=canonical,
omvang=chunk_size,
volgnummer=i + 1,
lock=canonical.lock,
)
full_size -= chunk_size

Expand Down

0 comments on commit 0fb3192

Please sign in to comment.