Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for keepAliveTicker (0.08 sec)

  1. cmd/admin-handlers.go

    		BlockSize: blockSize,
    		FileSize:  fileSize,
    	}
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	ch := globalNotificationSys.DriveSpeedTest(ctx, opts)
    
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-keepAliveTicker.C:
    			// Write a blank entry to prevent client from disconnecting
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    		if tgt.Empty() {
    			writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrInvalidRequest, fmt.Errorf("invalid arn : '%s'", opts.ARN)), r.URL)
    			return
    		}
    	}
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	diffCh, err := getReplicationDiff(ctx, objectAPI, bucket, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top