Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Adjust batch size of removed apps in task (#15172)
Filip Owczarek1df99ed89df3
diff --git a/saleor/app/tasks.py b/saleor/app/tasks.pyindex 4ac2fa1d79..cf591fbb26 100644--- a/saleor/app/tasks.py+++ b/saleor/app/tasks.py@@ -82,7 +82,7 @@ def remove_apps_task():# Saleor uses batch size here to prevent timeouts on database.# Batch size determines how many deliveries will be removed,# each delivery contains attempts and payloads.- batch_size = 10000+ batch_size = 1000last_id = 0while True:deliveries_ids = list(