Skip to content

Commit 81b90bf

Browse files
committed
fix(worker): Increase incremental schedule to limit duplicate checksum effort
1 parent 871f977 commit 81b90bf

File tree

1 file changed

+2
-2
lines changed
  • services/datalad/datalad_service/tasks

1 file changed

+2
-2
lines changed

services/datalad/datalad_service/tasks/fsck.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def git_annex_fsck_local(dataset_path):
3939
'fsck',
4040
'--json',
4141
'--json-error-messages',
42-
'--incremental-schedule=7d',
42+
'--incremental-schedule=45d',
4343
)
4444
annex_process = subprocess.Popen(
4545
annex_command, cwd=dataset_path, stdout=subprocess.PIPE
@@ -77,7 +77,7 @@ async def git_annex_fsck_remote(dataset_path, branch, remote='s3-PUBLIC'):
7777
f'--from={remote}',
7878
'--json',
7979
'--json-error-messages',
80-
'--incremental-schedule=30d',
80+
'--incremental-schedule=365d',
8181
)
8282
annex_process = subprocess.Popen(
8383
annex_command, cwd=dataset_path, stdout=subprocess.PIPE

0 commit comments

Comments
 (0)