- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for WithCancel (0.06 seconds)
-
cmd/batch-handlers.go
s3Type := 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 {
Created: 2026-04-05 19:28 - Last Modified: 2025-08-29 02:39 - 63.5K bytes - Click Count (1) -
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)
Created: 2026-04-05 19:28 - Last Modified: 2025-08-29 02:39 - 77K bytes - Click Count (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 {
Created: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 89.2K bytes - Click Count (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.
Created: 2026-04-05 19:28 - Last Modified: 2025-10-15 17:00 - 76.5K bytes - Click Count (0) -
cmd/erasure-object.go
Healing: 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
Created: 2026-04-05 19:28 - Last Modified: 2025-10-24 04:05 - 80.4K bytes - Click Count (0) -
cmd/xl-storage.go
func 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](),
Created: 2026-04-05 19:28 - Last Modified: 2025-09-28 20:59 - 91.7K bytes - Click Count (0)