- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 236 for Retry (0.02 seconds)
-
tests/test_sse.py
yield ServerSentEvent(data="hello", event="greeting", id="1") yield ServerSentEvent(data={"key": "value"}, event="json-data", id="2") yield ServerSentEvent(comment="just a comment") yield ServerSentEvent(data="retry-test", retry=5000) @app.get("/items/stream-mixed", response_class=EventSourceResponse) async def sse_items_mixed() -> AsyncIterable[Item]: yield items[0] yield ServerSentEvent(data="custom-event", event="special")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java
return failureTime; } /** * Get retry count * * @return number of retry attempts */ public int getRetryCount() { return retryCount; } /** * Get next retry time * * @return time of next retry attempt */ public long getNextRetryTime() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 11.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
// If the problem was a CertificateException from the X509TrustManager, // do not retry. if (e.cause is CertificateException) { return false } } if (e is SSLPeerUnverifiedException) { // e.g. a certificate pinning error. return false } // An example of one we might want to retry with a different route is a problem connecting to aCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.5K bytes - Click Count (0) -
fastapi/sse.py
if data_str is not None: for line in data_str.splitlines(): lines.append(f"data: {line}") if id is not None: lines.append(f"id: {id}") if retry is not None: lines.append(f"retry: {retry}") lines.append("") lines.append("") return "\n".join(lines).encode("utf-8") # Keep-alive comment, per the SSE spec recommendationCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 6.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(original.getMessage(), retry.getMessage()); assertEquals(original.getCause(), retry.getCause()); assertNotNull(retry.getContext()); } @Test @DisplayName("Should format message correctly") void testMessageFormatting() { // With custom message
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/AddressPolicy.kt
*/ @JvmField val minimumConcurrentCalls: Int = 0, /** 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,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jun 03 17:10:08 GMT 2025 - 1.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
var tlsConnectDelayNanos = 0L var tlsConnectThrowable: Throwable? = null var connectTlsNextPlan: FakePlan? = null fun createRetry(): FakePlan { check(retry == null) return FakePlan(nextPlanId++) .also { retry = it } } fun createConnectTcpNextPlan(): FakePlan { check(connectTcpNextPlan == null) return FakePlan(nextPlanId++) .also {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.1K bytes - Click Count (0) -
buildscripts/verify-healing-empty-erasure-set.sh
# Wait for Status: in MinIO output while true; do rv=$(check_online) if [ "$rv" != "1" ]; then # success break fi # Check if we should retry retry=$((retry + 1)) if [ $retry -le 20 ]; then sleep 5 continue fi # Failure fail done if ! ps -p $pid1 1>&2 >/dev/null; then echo "minio-server-1 is not running." && fail fi
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 3.7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java
*/ package org.elasticsearch.gradle.internal.docker; import java.util.stream.Collectors; import java.util.stream.IntStream; /** * The methods in this class take a shell command and wrap it in retry logic, so that our * Docker builds can be more robust in the face of transient errors e.g. network issues. */ public class ShellRetry { static String loop(String name, String command) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 10 13:10:22 GMT 2021 - 1.9K bytes - Click Count (0) -
cmd/batch-job-common-types.go
} *b = BatchJobNotification(tmp) b.line, b.col = val.Line, val.Column return nil } // BatchJobRetry stores retry configuration used in the event of failures. type BatchJobRetry struct { line, col int Attempts int `yaml:"attempts" json:"attempts"` // number of retry attempts Delay time.Duration `yaml:"delay" json:"delay"` // delay between each retries }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.9K bytes - Click Count (0)