mirror of
https://github.com/pgsty/minio.git
synced 2026-08-11 00:33:28 +03:00
allow retries for transaction lock on startup (#16273)
This commit is contained in:
@@ -360,7 +360,6 @@ func initServer(ctx context.Context, newObject ObjectLayer) error {
|
||||
lockTimeout := newDynamicTimeoutWithOpts(dynamicTimeoutOpts{
|
||||
timeout: 5 * time.Second,
|
||||
minimum: 3 * time.Second,
|
||||
retryInterval: -1, // do not retry to avoid high contention on startup.
|
||||
})
|
||||
|
||||
// Do an initial random sleep to avoid stampeding herd of initial
|
||||
|
||||
Reference in New Issue
Block a user