Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for dela (0.14 sec)

  1. cmd/batch-rotate.go

    		return err
    	}
    	if ri.Complete {
    		return nil
    	}
    
    	globalBatchJobsMetrics.save(job.ID, ri)
    	lastObject := ri.Object
    
    	delay := job.KeyRotate.Flags.Retry.Delay
    	if delay == 0 {
    		delay = batchKeyRotateJobDefaultRetryDelay
    	}
    
    	rnd := rand.New(rand.NewSource(time.Now().UnixNano()))
    
    	selectObj := func(info FileInfo) (ok bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	vc, _ := globalBucketVersioningSys.Get(r.Bucket)
    	retryAttempts := r.Retry.Attempts
    	delay := job.Expire.Retry.Delay
    	if delay == 0 {
    		delay = batchExpireJobDefaultRetryDelay
    	}
    
    	var i int
    	for toExpire := range expireCh {
    		select {
    		case <-ctx.Done():
    			return
    		default:
    		}
    		if i > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. cni/test/install_cni.go

    		if file.Exists(resultFile) {
    			t.Logf("FAIL: Istio CNI config file was not removed: %s", resultFile)
    		}
    	}
    	retry.UntilSuccessOrFail(t, func() error {
    		return checkBinDir(t, tempCNIBinDir, "del", "istio-cni")
    	}, retry.Delay(time.Millisecond*10), retry.Timeout(time.Second*5))
    
    	checkTempFilesCleaned(tempCNIConfDir, t)
    }
    
    // RunInstallCNITest sets up temporary directories and runs the test.
    //
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. internal/dsync/dsync_test.go

    	dm.refreshInterval = testDrwMutexUnlockCallTimeout
    	if !dm.GetLock(context.Background(), nil, id, source, Options{Timeout: 5 * time.Minute}) {
    		t.Fatal("GetLock() should be successful")
    	}
    
    	// Add delay to lock server responses to ensure that lock does not timeout
    	for i := range lockServers {
    		lockServers[i].setResponseDelay(5 * testDrwMutexUnlockCallTimeout)
    		defer lockServers[i].setResponseDelay(0)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  5. cmd/format-meta.go

    // formatMetaV1 should be inherited by backend format structs. Please look at format-fs.go
    // and format-xl.go for details.
    
    // Ideally we will never have a situation where we will have to change the
    // fields of this struct and deal with related migration.
    type formatMetaV1 struct {
    	// Version of the format config.
    	Version string `json:"version"`
    	// Format indicates the backend format type, supports two values 'xl' and 'fs'.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/ztunnelserver.go

    		case <-ctx.Done():
    			return nil
    		}
    	}
    }
    
    func (z *ztunnelServer) PodDeleted(ctx context.Context, uid string) error {
    	r := &zdsapi.WorkloadRequest{
    		Payload: &zdsapi.WorkloadRequest_Del{
    			Del: &zdsapi.DelWorkload{
    				Uid: uid,
    			},
    		},
    	}
    	data, err := proto.Marshal(r)
    	if err != nil {
    		return err
    	}
    
    	log.Debugf("sending delete pod to ztunnel: %s %v", uid, r)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    	requestTime, err := time.Parse(time.RFC3339, requestTimeStr)
    	if err != nil {
    		return errMalformedAuth
    	}
    	utcNow := UTCNow()
    	delta := requestTime.Sub(utcNow)
    	if delta < 0 {
    		delta *= -1
    	}
    	if delta > DefaultSkewTime {
    		return errSkewedAuthTime
    	}
    
    	return nil
    }
    
    // IsAuthValid - To authenticate and verify the time difference.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. internal/event/target/mqtt.go

    		if os.IsNotExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	if err = target.send(eventData); err != nil {
    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key.Name)
    }
    
    // Save - saves the events to the store if queuestore is configured, which will
    // be replayed when the mqtt connection is active.
    func (target *MQTTTarget) Save(eventData event.Event) error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  9. internal/event/target/amqp.go

    			return nil
    		}
    		return eErr
    	}
    
    	if err := target.send(eventData, ch, confirms); err != nil {
    		return err
    	}
    
    	// Delete the event from store.
    	return target.store.Del(key.Name)
    }
    
    // Close - does nothing and available for interface compatibility.
    func (target *AMQPTarget) Close() error {
    	close(target.quitCh)
    	if target.conn != nil {
    		return target.conn.Close()
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  10. internal/logger/target/kafka/kafka.go

    		return err
    	}
    	atomic.AddInt64(&h.totalMessages, 1)
    	err = h.send(auditEntry)
    	if err != nil {
    		atomic.AddInt64(&h.failedMessages, 1)
    		return
    	}
    	// Delete the event from store.
    	return h.store.Del(key.Name)
    }
    
    // Cancel - cancels the target
    func (h *Target) Cancel() {
    	// If queuestore is configured, cancel it's context to
    	// stop the replay go-routine.
    	if h.store != nil {
    		h.storeCtxCancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
Back to top