- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for backoff (0.04 sec)
-
LICENSES/vendor/github.com/cenkalti/backoff/v4/LICENSE
= vendor/github.com/cenkalti/backoff/v4 licensed under: = The MIT License (MIT) Copyright (c) 2014 Cenk Altı Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Sun Sep 18 01:47:24 UTC 2022 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
*/ public class WitnessClient implements AutoCloseable { private static final Logger log = LoggerFactory.getLogger(WitnessClient.class); // Polling and backoff constants (in ms) private static final long MAX_POLL_INTERVAL = 5000; // Normal polling: max 5 seconds private static final long MAX_ERROR_BACKOFF = 30000; // Error polling: max 30 secondsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
/** How long to wait to retry pre-emptive connection attempts that fail. */ @JvmField val backoffDelayMillis: Long = 60 * 1000, /** How much jitter to introduce in connection retry backoff delays */ @JvmField val backoffJitterMillis: Int = 100,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Jun 03 17:10:08 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertTrue(exception.shouldRetry(1)); assertTrue(exception.shouldRetry(2)); assertFalse(exception.shouldRetry(3)); // Max attempts reached // Verify exponential backoff assertEquals(1000, exception.getRetryDelayMs(1)); assertEquals(2000, exception.getRetryDelayMs(2)); assertEquals(4000, exception.getRetryDelayMs(3)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
internal/rest/client.go
func (c *Client) LastError() error { c.RLock() defer c.RUnlock() return fmt.Errorf("[%s] %w", c.lastErrTime.Format(time.RFC3339), c.lastErr) } // computes the exponential backoff duration according to // https://www.awsarchitectureblog.com/2015/03/backoff.html func exponentialBackoffWait(r *rand.Rand, unit, maxSleep time.Duration) func(uint) time.Duration { if unit > time.Hour { // Protect against integer overflow
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 14.7K bytes - Viewed (0) -
internal/event/target/kafka.go
// These settings are needed to ensure that kafka client doesn't hang on brokers // refer https://github.com/IBM/sarama/issues/765#issuecomment-254333355 config.Producer.Retry.Max = 2 config.Producer.Retry.Backoff = (1 * time.Second) config.Producer.Return.Successes = true config.Producer.Return.Errors = true config.Producer.RequiredAcks = 1 config.Producer.Timeout = (5 * time.Second) // Set Producer Compression
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java
import org.slf4j.LoggerFactory; import jcifs.internal.smb2.create.Smb2CreateRequest; /** * Handles automatic reconnection of durable and persistent SMB handles. * * This class provides retry logic with exponential backoff for handle * reconnection after network failures or server issues. */ public class HandleReconnector { private static final Logger log = LoggerFactory.getLogger(HandleReconnector.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 8.5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
/** * Handles directory change notifications for SMB3 directory leasing */ public class DirectoryChangeNotifier { private static final Logger log = LoggerFactory.getLogger(DirectoryChangeNotifier.class); // Backoff and timing constants (in ms) private static final long BASE_POLL_INTERVAL = 1000; private static final long MAX_POLL_INTERVAL = 30000; private static final long BASE_RETRY_DELAY = 1000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
internal/logger/target/kafka/kafka.go
// These settings are needed to ensure that kafka client doesn't hang on brokers // refer https://github.com/IBM/sarama/issues/765#issuecomment-254333355 sconfig.Producer.Retry.Max = 2 sconfig.Producer.Retry.Backoff = (10 * time.Second) sconfig.Producer.Return.Successes = true sconfig.Producer.Return.Errors = true sconfig.Producer.RequiredAcks = 1 sconfig.Producer.Timeout = (10 * time.Second)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 10.2K bytes - Viewed (0)