fix: Increase lock acquire timeout for network storage reliability (#1548)

This commit is contained in:
houseme
2026-01-19 01:14:36 +08:00
committed by GitHub
parent c9e2d7da2a
commit a9f499282c
11 changed files with 96 additions and 57 deletions
+9
View File
@@ -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