Skip to content

Commit 39b7440

Browse files
committed
adjust how often vacuum is run
1 parent b781e7b commit 39b7440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/python_scripts/update_tasks_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ def run_vacuum_tasks_table():
6363
for i, project_id in enumerate(project_ids_list):
6464
update_tasks_table(project_id)
6565
# vacuum every 50th project
66-
if i % 25 == 0 or i == len(project_ids_list):
66+
if i % 50 == 0 or i == len(project_ids_list):
6767
run_vacuum_tasks_table()

0 commit comments

Comments
 (0)