File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ func (plugin *Plugin) InitializeKeyValueStore(config *common.PluginConfig) error
194194 }
195195
196196 // Acquire store lock. For windows 1m timeout is used while for Linux 10s timeout is assigned.
197- var lockTimeoutValue time.Duration = store .DefaultLockTimeout
197+ var lockTimeoutValue time.Duration = store .DefaultLockTimeoutLinux
198198 if runtime .GOOS == "windows" {
199199 lockTimeoutValue = store .DefaultLockTimeoutWindows
200200 }
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const (
2424
2525 // DefaultLockTimeout - lock timeout in milliseconds
2626 DefaultLockTimeout = 10000 * time .Millisecond
27+ DefaultLockTimeoutLinux = 30000 * time .Millisecond
2728 DefaultLockTimeoutWindows = 60000 * time .Millisecond
2829)
2930
You can’t perform that action at this time.
0 commit comments