Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for retryIntvl (0.05 sec)

  1. internal/logger/target/http/http.go

    		// if we have reached the count send at once
    		// or we have crossed last second before batch was sent, send at once
    		lastBatchProcess = time.Now()
    
    		var retries int
    		retryIntvl := h.config.RetryIntvl
    		if retryIntvl <= 0 {
    			retryIntvl = 3 * time.Second
    		}
    
    		maxRetries := h.config.MaxRetry
    
    	retry:
    		// If the channel reaches above half capacity
    		// we spawn more workers. The workers spawned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. internal/logger/config.go

    			Proxy:      getCfgVal(EnvLoggerWebhookProxy, k, kv.Get(Proxy)),
    			BatchSize:  batchSize,
    			QueueSize:  queueSize,
    			QueueDir:   getCfgVal(EnvLoggerWebhookQueueDir, k, kv.Get(QueueDir)),
    			MaxRetry:   maxRetry,
    			RetryIntvl: retryInterval,
    			Name:       loggerTargetNamePrefix + k,
    		}
    	}
    	return cfg, nil
    }
    
    func lookupAuditWebhookConfig(scfg config.Config, cfg Config) (Config, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top