xl: CreateFile shouldn't prematurely timeout (#11854)

For large objects taking more than '3 minutes' response
times in a single PUT operation can timeout prematurely
as 'ResponseHeader' timeout hits for 3 minutes. Avoid
this by keeping the connection active during CreateFile
phase.
This commit is contained in:
Harshavardhana
2021-03-22 18:25:05 -07:00
committed by GitHub
parent 726d80dbb7
commit 922c7b57f5
3 changed files with 9 additions and 7 deletions

View File

@@ -44,7 +44,7 @@ import (
const (
dataScannerSleepPerFolder = time.Millisecond // Time to wait between folders.
dataScannerStartDelay = 1 * time.Minute // Time to wait on startup and between cycles.
dataScannerStartDelay = 5 * time.Minute // Time to wait on startup and between cycles.
dataUsageUpdateDirCycles = 16 // Visit all folders every n cycles.
healDeleteDangling = true