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.
1 parent 1182550 commit 48e95bfCopy full SHA for 48e95bf
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
@@ -2100,7 +2100,7 @@ def dj_stripe_request_callback_method():
2100
USER_ASSET_ORG_TRANSFER_BATCH_SIZE = 1000
2101
SUBMISSION_DELETION_BATCH_SIZE = 1000
2102
LONG_RUNNING_MIGRATION_BATCH_SIZE = 2000
2103
-VERSION_DELETION_BATCH_SIZE = 1000
+VERSION_DELETION_BATCH_SIZE = 2000
2104
2105
# Number of stuck tasks should be restarted at a time
2106
MAX_RESTARTED_TASKS = 100
0 commit comments