We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b24c005 + 48e95bf commit 132e30aCopy full SHA for 132e30a
kobo/apps/long_running_migrations/jobs/0012_remove_old_versions.py
@@ -15,4 +15,4 @@ def run():
15
deleted = queryset.delete()
16
# log at debug level so we don't flood the logs
17
logging.debug(f'Deleted {deleted[0]} version objects with pk < {min_id}')
18
- time.sleep(10)
+ time.sleep(2)
kobo/settings/base.py
@@ -2112,7 +2112,7 @@ def dj_stripe_request_callback_method():
2112
USER_ASSET_ORG_TRANSFER_BATCH_SIZE = 1000
2113
SUBMISSION_DELETION_BATCH_SIZE = 1000
2114
LONG_RUNNING_MIGRATION_BATCH_SIZE = 2000
2115
-VERSION_DELETION_BATCH_SIZE = 1000
+VERSION_DELETION_BATCH_SIZE = 2000
2116
2117
# Number of stuck tasks should be restarted at a time
2118
MAX_RESTARTED_TASKS = 100
0 commit comments