Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for wait (0.14 sec)

  1. cmd/metrics-v2.go

    		}
    	}
    
    	// Call peer api to fetch metrics
    	wg.Add(2)
    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetBucketMetrics(GlobalContext))
    	wg.Wait()
    }
    
    //msgp:ignore minioClusterCollector
    type minioClusterCollector struct {
    	metricsGroups []*MetricsGroupV2
    	desc          *prometheus.Desc
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  2. cmd/server_test.go

    			c.Assert(err, nil)
    
    			response, err := s.client.Do(request)
    			if err != nil {
    				c.Errorf("Put bucket Failed: <ERROR> %s", err)
    				return
    			}
    			defer response.Body.Close()
    		}()
    	}
    	wg.Wait()
    
    	bucketName = getRandomBucketName()
    	// Block 2: testing for correctness of the functionality
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    			defer wg.Done()
    			tgtInfo := replicateDeleteToTarget(ctx, dobj, tgt)
    
    			mu.Lock()
    			rinfos.Targets = append(rinfos.Targets, tgtInfo)
    			mu.Unlock()
    		}(tgtClnt)
    	}
    	wg.Wait()
    
    	replicationStatus = rinfos.ReplicationStatus()
    	prevStatus := dobj.DeleteMarkerReplicationStatus()
    
    	if dobj.VersionID != "" {
    		prevStatus = replication.StatusType(dobj.VersionPurgeStatus())
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. cmd/site-replication.go

    				nil,
    			)
    			resultsMu.Lock()
    			results.NodeResults = append(results.NodeResults, result)
    			resultsMu.Unlock()
    			return
    		}()
    	}
    	wg.Wait()
    	return
    }
    
    // GetClusterInfo - returns site replication information.
    func (c *SiteReplicationSys) GetClusterInfo(ctx context.Context) (info madmin.SiteReplicationInfo, err error) {
    	c.RLock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/admin-handlers.go

    // - madmin.TraceInfo type is asked by opts
    func shouldTrace(trcInfo madmin.TraceInfo, opts madmin.ServiceTraceOpts) (shouldTrace bool) {
    	// Reject all unwanted types.
    	want := opts.TraceTypes()
    	if !want.Contains(trcInfo.TraceType) {
    		return false
    	}
    
    	isHTTP := trcInfo.TraceType.Overlaps(madmin.TraceInternal|madmin.TraceS3) && trcInfo.HTTP != nil
    
    	// Check latency...
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  6. cmd/object-handlers_test.go

    				// invoke the PutObjectPart HTTP handler.
    				apiRouter.ServeHTTP(rec, req)
    
    				// validate the error response.
    				want := getAPIError(test.expectedAPIError)
    				if test.expectedAPIError == -1 {
    					want.HTTPStatusCode = 200
    					want.Code = "<no error>"
    					want.Description = "<no error>"
    				}
    				if rec.Code != http.StatusOK {
    					var errBytes []byte
    					// read the response body.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top