Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 227 for background (0.16 sec)

  1. cmd/background-heal-ops.go

    	maxIO, maxWait, _ := globalHealConfig.Clone()
    	waitForLowIO(maxIO, maxWait, currentHTTPIO)
    }
    
    func initBackgroundHealing(ctx context.Context, objAPI ObjectLayer) {
    	bgSeq := newBgHealSequence()
    	// Run the background healer
    	for i := 0; i < globalBackgroundHealRoutine.workers; i++ {
    		go globalBackgroundHealRoutine.AddWorker(ctx, objAPI, bgSeq)
    	}
    
    	globalBackgroundHealState.LaunchNewHealSequence(bgSeq, objAPI)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/background-newdisks-heal-ops.go

    	}
    }
    
    func initAutoHeal(ctx context.Context, objAPI ObjectLayer) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		return
    	}
    
    	initBackgroundHealing(ctx, objAPI) // start quick background healing
    
    	if env.Get("_MINIO_AUTO_DRIVE_HEALING", config.EnableOn) == config.EnableOn || env.Get("_MINIO_AUTO_DISK_HEALING", config.EnableOn) == config.EnableOn {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/background-newdisks-heal-ops_gen.go

    Anis Eleuch <******@****.***> 1709139940 +0100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 17:05:40 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1618853442 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  5. internal/dsync/dsync_test.go

    	dm.Unlock(context.Background())
    }
    
    func TestSimpleLockUnlockMultipleTimes(t *testing.T) {
    	dm := NewDRWMutex(ds, "test")
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  6. cmd/peer-rest-client.go

    			if gridHost == "" {
    				bugLogIf(context.Background(), fmt.Errorf("gridHost is empty for peer %s", peer.String()), peer.String()+":gridHost")
    				return nil
    			}
    			gc := gridConn.Load()
    			if gc != nil {
    				return gc
    			}
    			gm := globalGrid.Load()
    			if gm == nil {
    				return nil
    			}
    			gc = gm.Connection(gridHost)
    			if gc == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    	info := madmin.GetPartitions(context.Background(), globalLocalNodeName)
    	return madminPartitions.NewJSONWith(&info), nil
    }
    
    // GetOSInfoHandler - returns operating system's information.
    func (s *peerRESTServer) GetOSInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.OSInfo], *grid.RemoteErr) {
    	info := madmin.GetOSInfo(context.Background(), globalLocalNodeName)
    	return madminOSInfo.NewJSONWith(&info), nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/server_test.go

    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    			UID:       types.UID("test"),
    		},
    	}
    
    	fakeCtx := context.Background()
    	fakeClientSet := fake.NewSimpleClientset(pod)
    
    	podIP := netip.MustParseAddr("99.9.9.1")
    	podIPs := []netip.Addr{podIP}
    
    	server := &fakeServer{}
    	server.On("AddPodToMesh",
    		fakeCtx,
    		pod,
    		podIPs,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. internal/crypto/key.go

    	if random == nil {
    		random = rand.Reader
    	}
    	if len(extKey) != 32 { // safety check
    		logger.CriticalIf(context.Background(), errors.New("crypto: invalid key length"))
    	}
    	var nonce [32]byte
    	if _, err := io.ReadFull(random, nonce[:]); err != nil {
    		logger.CriticalIf(context.Background(), errOutOfEntropy)
    	}
    
    	const Context = "object-encryption-key generation"
    	mac := hmac.New(sha256.New, extKey)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    				client.Kube().CoreV1().ServiceAccounts("bar").Create(context.Background(), &v1.ServiceAccount{
    					ObjectMeta: metav1.ObjectMeta{Namespace: "bar", Name: "vm-serviceaccount"},
    					Secrets:    []v1.ObjectReference{{Name: "test"}},
    				}, metav1.CreateOptions{})
    				client.Kube().CoreV1().ConfigMaps("bar").Create(context.Background(), &v1.ConfigMap{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
Back to top