Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/storage.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-18 13:07:28 +0000
committerGitHub <noreply@github.com>2021-11-18 13:07:28 +0000
commit776823adfb2d9ea140b9d849ee9a1dd07991a94c (patch)
tree39d73ecbcacf969398185d0da93e354ebbda09ad /archinstall/lib/storage.py
parent7d991ecb9f87f863e1e78ce7e2d06c4d2f9568db (diff)
Increased disk delays by 100% (for unsuccessful operations), successful should still be quick. (#730)
Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
Diffstat (limited to 'archinstall/lib/storage.py')
-rw-r--r--archinstall/lib/storage.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/storage.py b/archinstall/lib/storage.py
index ae330382..d6380de3 100644
--- a/archinstall/lib/storage.py
+++ b/archinstall/lib/storage.py
@@ -19,5 +19,7 @@ storage = {
'LOG_PATH': '/var/log/archinstall',
'LOG_FILE': 'install.log',
'MOUNT_POINT': '/mnt/archinstall',
- 'ENC_IDENTIFIER': 'ainst'
+ 'ENC_IDENTIFIER': 'ainst',
+ 'DISK_TIMEOUTS' : 1, # seconds
+ 'DISK_RETRY_ATTEMPTS' : 20, # RETRY_ATTEMPTS * DISK_TIMEOUTS is used in disk operations
}