summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/spack/defaults/config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/etc/spack/defaults/config.yaml b/etc/spack/defaults/config.yaml
index 28628a3d49..4092140e29 100644
--- a/etc/spack/defaults/config.yaml
+++ b/etc/spack/defaults/config.yaml
@@ -94,3 +94,16 @@ config:
# If set to true, spack will use ccache to cache c compiles.
ccache: false
+
+ # How long to wait to lock the Spack installation database. This lock is used
+ # when spack needs to manage its own package metadata and all operations are
+ # expected to complete within the default time limit. The timeout should
+ # therefore generally be left untouched.
+ db_lock_timeout: 120
+
+ # How long to wait when attempting to modify a package (e.g. to install it).
+ # This value should typically be 'null' (never time out) unless the Spack
+ # instance only ever has a single user at a time, and only if the user
+ # anticipates that a significant delay indicates that the lock attempt will
+ # never succeed.
+ package_lock_timeout: null