- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for WithCancel (0.06 sec)
- 
				
				cmd/batch-handlers.gos3Type := r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 minioSrc := r.Source.Type == BatchJobReplicateResourceMinIO ctx, cancel := context.WithCancel(ctx) objInfoCh := make(chan minio.ObjectInfo, 1) go func() { prefixes := r.Source.Prefix.F() if len(prefixes) == 0 { prefixes = []string{""} } for _, prefix := range prefixes { Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0)
- 
				
				cmd/test-utils_test.go// initializes the endpoints and configures the test server. // The server should be started using the Start() method. func UnstartedTestServer(t TestErrHandler, instanceType string) TestServer { ctx, cancel := context.WithCancel(context.Background()) // create an instance of TestServer. testServer := TestServer{cancel: cancel} // return FS/Erasure object layer and temp backend. objLayer, disks, err := prepareTestBackend(ctx, instanceType) Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 77K bytes - Viewed (0)
- 
				
				cmd/erasure-server-pool.go// Updates must be closed before we return. defer xioutil.SafeClose(updates) ctx, cancel := context.WithCancel(ctx) defer cancel() var wg sync.WaitGroup var mu sync.Mutex var results []dataUsageCache var firstErr error allBuckets, err := z.ListBuckets(ctx, BucketOptions{}) if err != nil { Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.1K bytes - Viewed (0)
- 
				
				cmd/iam.go// From AuthN plugin if enabled. if authn := newGlobalAuthNPluginFn(); authn != nil { maps.Copy(sys.rolesMap, authn.GetRoleInfo()) } sys.printIAMRoles() sys.Unlock() retryCtx, cancel := context.WithCancel(ctx) // Indicate to our routine to exit cleanly upon return. defer cancel() // Migrate storage format if needed. for { // Migrate IAM configuration, if necessary. Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0)
- 
				
				cmd/erasure-object.goHealing: false, } mrfCheck := make(chan FileInfo) defer xioutil.SafeClose(mrfCheck) var rw sync.Mutex // Ask for all disks first; go func() { ctx, cancel := context.WithCancel(ctx) defer cancel() wg := sync.WaitGroup{} for i, disk := range disks { if disk == nil { done <- false continue } if !disk.IsOnline() { done <- false Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 80.4K bytes - Viewed (0)
- 
				
				cmd/xl-storage.gofunc newXLStorage(ep Endpoint, cleanUp bool) (s *xlStorage, err error) { immediatePurgeQueue := 100000 if globalIsTesting || globalIsCICD { immediatePurgeQueue = 1 } ctx, cancel := context.WithCancel(GlobalContext) s = &xlStorage{ drivePath: ep.Path, endpoint: ep, globalSync: globalFSOSync, diskInfoCache: cachevalue.New[DiskInfo](), Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jun 13 11:33:47 UTC 2025 - 91.7K bytes - Viewed (0)