- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for RetryInterval (0.11 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/FaultTolerantClient.java
this.maxRetryCount = maxRetryCount; } public long getRetryInterval() { return retryInterval; } public void setRetryInterval(final long retryInterval) { this.retryInterval = retryInterval; } public RequestListener getRequestListener() { return listener; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
mutex sync.Mutex retryInterval time.Duration } type dynamicTimeoutOpts struct { timeout time.Duration minimum time.Duration retryInterval time.Duration } func newDynamicTimeoutWithOpts(opts dynamicTimeoutOpts) *dynamicTimeout { dt := newDynamicTimeout(opts.timeout, opts.minimum) dt.retryInterval = opts.retryInterval return dt }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 19 23:21:05 UTC 2022 - 4.5K bytes - Viewed (0) -
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) -
cmd/shared-lock.go
package cmd import ( "context" "time" ) var sharedLockTimeout = newDynamicTimeoutWithOpts(dynamicTimeoutOpts{ timeout: 30 * time.Second, minimum: 10 * time.Second, retryInterval: time.Minute, }) type sharedLock struct { lockContext chan LockContext } func (ld sharedLock) backgroundRoutine(ctx context.Context, objAPI ObjectLayer, lockName string) { for {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 13 09:26:38 UTC 2023 - 2.3K 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) -
fess-crawler-lasta/src/main/resources/crawler/client.xml
class="org.codelibs.fess.crawler.client.FaultTolerantClient" instance="prototype"> <property name="crawlerClient">internalHttpClient</property> <property name="maxRetryCount">5</property> <property name="retryInterval">500</property> </component> <component name="fsClient" class="org.codelibs.fess.crawler.client.fs.FileSystemClient" instance="prototype"> <property name="charset">"UTF-8"</property> </component>
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Tue Aug 08 12:54:47 UTC 2023 - 2.8K 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)