mirror of
https://github.com/minio/minio.git
synced 2025-11-21 18:26:04 -05:00
Revert "Revert "tests: Add context cancelation (#15374)""
This reverts commit 564a0afae1.
This commit is contained in:
@@ -284,7 +284,7 @@ func StartGateway(ctx *cli.Context, gw Gateway) {
|
||||
newObject = NewGatewayLayerWithLocker(newObject)
|
||||
|
||||
// Calls all New() for all sub-systems.
|
||||
initAllSubsystems()
|
||||
initAllSubsystems(GlobalContext)
|
||||
|
||||
// Once endpoints are finalized, initialize the new object api in safe mode.
|
||||
globalObjLayerMutex.Lock()
|
||||
|
||||
Reference in New Issue
Block a user