Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for Sleep (0.16 sec)

  1. cmd/erasure-server-pool.go

    			}
    			retry := time.Duration(r.Float64() * float64(5*time.Second))
    			storageLogIf(ctx, fmt.Errorf("Unable to initialize backend: %w, retrying in %s", err, retry))
    			time.Sleep(retry)
    			attempt++
    			continue
    		}
    		break
    	}
    
    	return z, nil
    }
    
    func (z *erasureServerPools) NewNSLock(bucket string, objects ...string) RWLocker {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin.go

    		pi, k8sErr = getK8sPodInfo(kClient, podName, podNamespace)
    		if k8sErr == nil {
    			break
    		}
    		log.Debugf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		time.Sleep(podRetrievalInterval)
    	}
    	if k8sErr != nil {
    		log.Errorf("Failed to get %s/%s pod info: %v", podNamespace, podName, k8sErr)
    		return k8sErr
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. cmd/server-main.go

    			}
    			return nil
    		}
    
    		if configRetriableErrors(err) {
    			logger.Info("Waiting for all MinIO sub-systems to be initialized.. possible cause (%v)", err)
    			time.Sleep(time.Duration(r.Float64() * float64(5*time.Second)))
    			continue
    		}
    
    		// Any other unhandled return right here.
    		return fmt.Errorf("Unable to initialize sub-systems: %w", err)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
  4. cmd/erasure-sets.go

    func (s *erasureSets) monitorAndConnectEndpoints(ctx context.Context, monitorInterval time.Duration) {
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    
    	// Pre-emptively connect the disks if possible.
    	s.connectDisks()
    
    	monitor := time.NewTimer(monitorInterval)
    	defer monitor.Stop()
    
    	for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  5. cmd/admin-handlers.go

    	echo
    	echo "Starting MinIO instance: ${START_CMD}"
    	echo
    	eval "$START_CMD"
    	MINIO_SRVR_PID="$!"
    	echo "MinIO Server PID: ${MINIO_SRVR_PID}"
    	echo
    	echo "Waiting for MinIO instance to get ready!"
    	sleep 10
    }
    
    main "$@"`, scheme)
    	adminLogIf(ctx, embedFileInZip(inspectZipW, "start-minio.sh", scrb.Bytes(), 0o755))
    }
    
    func getSubnetAdminPublicKey() []byte {
    	if globalIsCICD {
    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)
Back to top