mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 08:18:18 +00:00
fix: Increase lock acquire timeout for network storage reliability (#1548)
This commit is contained in:
@@ -189,6 +189,15 @@ export RUSTFS_TRUST_SYSTEM_CA=true
|
||||
# Enable FTP server
|
||||
export RUSTFS_FTPS_ENABLE=false
|
||||
|
||||
# Use default timeout (60 seconds)
|
||||
# No environment variable needed
|
||||
|
||||
# Increase timeout for high-latency network storage
|
||||
#export RUSTFS_LOCK_ACQUIRE_TIMEOUT=120
|
||||
|
||||
# Reduce timeout for low-latency local storage
|
||||
export RUSTFS_LOCK_ACQUIRE_TIMEOUT=30
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
export RUSTFS_VOLUMES="$1"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user