mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vminsert/netstorage: increase timeout for pushing data from vminsert to vmstorage by 3x
Our clients report that the previous timeout could lead to frequent errors when vmstorage starts background merge for big parts on slow HDD.
This commit is contained in:
parent
9eaa2ab871
commit
ecddba30fe
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ func (sn *storageNode) sendBufLocked(buf []byte) error {
|
|||
return fmt.Errorf("cannot dial %q: %s", sn.dialer.Addr(), err)
|
||||
}
|
||||
}
|
||||
timeoutSeconds := len(buf) / 1e6
|
||||
timeoutSeconds := len(buf) / 3e5
|
||||
if timeoutSeconds < 60 {
|
||||
timeoutSeconds = 60
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue