Skip to content

Commit 132e30a

Browse files
author
kobo-bot[bot]
committed
Merge branch 'release/2.025.43' into release/2.025.47
2 parents b24c005 + 48e95bf commit 132e30a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kobo/apps/long_running_migrations/jobs/0012_remove_old_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ def run():
1515
deleted = queryset.delete()
1616
# log at debug level so we don't flood the logs
1717
logging.debug(f'Deleted {deleted[0]} version objects with pk < {min_id}')
18-
time.sleep(10)
18+
time.sleep(2)

kobo/settings/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2112,7 +2112,7 @@ def dj_stripe_request_callback_method():
21122112
USER_ASSET_ORG_TRANSFER_BATCH_SIZE = 1000
21132113
SUBMISSION_DELETION_BATCH_SIZE = 1000
21142114
LONG_RUNNING_MIGRATION_BATCH_SIZE = 2000
2115-
VERSION_DELETION_BATCH_SIZE = 1000
2115+
VERSION_DELETION_BATCH_SIZE = 2000
21162116

21172117
# Number of stuck tasks should be restarted at a time
21182118
MAX_RESTARTED_TASKS = 100

0 commit comments

Comments
 (0)