summaryrefslogtreecommitdiff
path: root/hosts/vidhar/borg
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:35:51 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-02-18 12:35:51 +0100
commita670d87e11f2a12980ce149313529b32c266e4da (patch)
tree6613e17b4809137655527d0fd1fcb75176949053 /hosts/vidhar/borg
parent37d57ee8ebd510d51e5962611023ceaaa4b6d562 (diff)
downloadnixos-a670d87e11f2a12980ce149313529b32c266e4da.tar
nixos-a670d87e11f2a12980ce149313529b32c266e4da.tar.gz
nixos-a670d87e11f2a12980ce149313529b32c266e4da.tar.bz2
nixos-a670d87e11f2a12980ce149313529b32c266e4da.tar.xz
nixos-a670d87e11f2a12980ce149313529b32c266e4da.zip
vidhar: ...
Diffstat (limited to 'hosts/vidhar/borg')
-rwxr-xr-xhosts/vidhar/borg/copy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/vidhar/borg/copy.py b/hosts/vidhar/borg/copy.py
index 37f7ff04..752b5cba 100755
--- a/hosts/vidhar/borg/copy.py
+++ b/hosts/vidhar/borg/copy.py
@@ -153,7 +153,7 @@ def copy_archive(src_repo_path, dst_repo_path, entry):
153 ret = subprocess.run(['mountpoint', '-q', dir]) 153 ret = subprocess.run(['mountpoint', '-q', dir])
154 if ret.returncode == 0: 154 if ret.returncode == 0:
155 break 155 break
156 elif datetime.now() - wait_start > timedelta(minutes=10): 156 elif datetime.now() - wait_start > timedelta(minutes=15):
157 ret.check_returncode() 157 ret.check_returncode()
158 sleep(0.1) 158 sleep(0.1)
159 if sp.enabled: 159 if sp.enabled: