- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for RetryInterval (0.17 sec)
-
internal/logger/config.go
return cfg, fmt.Errorf("invalid %s max_retry", maxRetryCfgVal) } retryIntervalCfgVal := getCfgVal(EnvLoggerWebhookRetryInterval, k, kv.Get(RetryInterval)) retryInterval, err := time.ParseDuration(retryIntervalCfgVal) if err != nil { return cfg, err } if retryInterval > time.Minute { return cfg, fmt.Errorf("maximum allowed value for retry interval is '1m': %s", retryIntervalCfgVal) } cfg.HTTP[k] = http.Config{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 20 16:02:50 UTC 2024 - 18.3K bytes - Viewed (0) -
internal/store/store.go
package store import ( "context" "errors" "fmt" "strconv" "strings" "time" xioutil "github.com/minio/minio/internal/ioutil" ) const ( retryInterval = 3 * time.Second ) type logger = func(ctx context.Context, err error, id string, errKind ...interface{}) // ErrNotConnected - indicates that the target connection is not active.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/namespace-lock.go
start := UTCNow() newCtx, cancel := context.WithCancel(ctx) if !di.rwMutex.GetLock(newCtx, cancel, di.opsID, lockSource, dsync.Options{ Timeout: timeout.Timeout(), RetryInterval: timeout.RetryInterval(), }) { timeout.LogFailure() defer cancel() if err := newCtx.Err(); err == context.Canceled { return LockContext{ctx: ctx, cancel: func() {}}, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 9.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
} public void setSizeForDelete(final int sizeForDelete) { this.sizeForDelete = sizeForDelete; } public void setRetryInterval(final long retryInterval) { this.retryInterval = retryInterval; } public void setMaxRetryCount(final int maxRetryCount) { this.maxRetryCount = maxRetryCount; } public void setConnTimeout(final long connTimeout) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
internal/logger/help.go
config.HelpKV{ Key: MaxRetry, Description: `maximum retry count before we start dropping logged event(s)`, Optional: true, Type: "number", }, config.HelpKV{ Key: RetryInterval, Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`, Optional: true, Type: "duration", }, config.HelpKV{ Key: httpTimeout,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 7.4K bytes - Viewed (0) -
internal/dsync/drwmutex.go
dm.startContinuousLockRefresh(lockLossCallback, id, source, quorum) return locked } switch { case opts.RetryInterval < 0: return false case opts.RetryInterval > 0: time.Sleep(opts.RetryInterval) default: attempt++ time.Sleep(lockRetryBackOff(dm.rng, attempt)) } } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 15:49:49 UTC 2024 - 20.4K bytes - Viewed (0) -
cmd/iam.go
if err := saveIAMFormat(retryCtx, sys.store); err != nil { if configRetriableErrors(err) { retryInterval := time.Duration(r.Float64() * float64(time.Second)) logger.Info("Waiting for all MinIO IAM sub-system to be initialized.. possible cause (%v) (retrying in %s)", err, retryInterval) time.Sleep(retryInterval) continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
internal/logger/target/http/http.go
QueueSize int `json:"queueSize"` QueueDir string `json:"queueDir"` MaxRetry int `json:"maxRetry"` RetryIntvl time.Duration `json:"retryInterval"` Proxy string `json:"string"` Transport http.RoundTripper `json:"-"` HTTPTimeout time.Duration `json:"httpTimeout"` // Custom logger
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0)