Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for contextCanceled (0.15 sec)

  1. cmd/metacache-set.go

    	rpc := globalNotificationSys.restClientFromHash(pathJoin(o.Bucket, o.Prefix))
    
    	const (
    		retryDelay    = 50 * time.Millisecond
    		retryDelay250 = 250 * time.Millisecond
    	)
    
    	for {
    		if contextCanceled(ctx) {
    			return entries, ctx.Err()
    		}
    
    		// If many failures, check the cache state.
    		if retries > 10 {
    			err := o.checkMetacacheState(ctx, rpc)
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top