diff options
author | Linus Nordberg <linus@nordu.net> | 2016-11-25 00:47:13 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-11-25 00:47:13 +0100 |
commit | 49b6e85963ef55fb6cfa1876fe825730f95658bc (patch) | |
tree | b3f5c605d64c984a092a34c32b34305d4a3d687a /tools/merge_backup.py | |
parent | 19a2a611a839c0318f58347e2d93943c8e2401a5 (diff) |
Parallelise merge_fetch.py.
NOTE: Not supporting permdb yet!
We're still not passing the tests because merge_backup.py exits when
the secondary merge disappears.
Diffstat (limited to 'tools/merge_backup.py')
-rwxr-xr-x | tools/merge_backup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/merge_backup.py b/tools/merge_backup.py index 723fc7a..32bae53 100755 --- a/tools/merge_backup.py +++ b/tools/merge_backup.py @@ -217,7 +217,7 @@ def main(): return err fetched_statinfo_old = fetched_statinfo while fetched_statinfo == fetched_statinfo_old: - sleep(args.mergeinterval / 30) + sleep(max(3, args.mergeinterval / 10)) fetched_statinfo = stat(fetched_path) return 0 |