- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 722 for sleeps (0.05 seconds)
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
// Open the circuit circuitBreaker.tripBreaker(); assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState()); // Wait for timeout Thread.sleep(150); // Next call should transition to HALF_OPEN String result = circuitBreaker.call(() -> "success"); assertEquals("success", result);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 4.5K bytes - Click Count (0) -
docs/distributed/decom-encrypted-kes.sh
until $(./mc admin decom status myminio/ | grep -q Complete); do echo "waiting for decom to finish..." sleep 1s done kill $pid_1 kill $pid_2 sleep 5s (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) & pid=$! sleep 30s export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/" ./mc ready myminio
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 7.1K bytes - Click Count (1) -
helm/minio/templates/_helper_create_svcacct.txt
# Special characters for example : ',",<,>,{,} MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_svcacct_tmp" # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Mar 28 23:20:50 GMT 2024 - 3.4K bytes - Click Count (0) -
internal/rest/client.go
if attempt > 16 { // Protect against integer overflow attempt = 16 } // sleep = random_between(unit, min(cap, base * 2 ** attempt)) sleep := min(unit*time.Duration(1<<attempt), maxSleep) sleep -= time.Duration(r.Float64() * float64(sleep-unit)) return sleep } } func (c *Client) runHealthCheck() bool { // Start goroutine that will attempt to reconnect.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
internal/logger/help.go
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,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Sep 11 22:20:42 GMT 2024 - 7.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
responseSent.countDown() } } fun exhaustResponse() = apply { actions += { stream -> stream.sink.close() } } fun sleep( duration: Long, unit: TimeUnit, ) = apply { actions += { Thread.sleep(unit.toMillis(duration)) } } override fun handle(socket: Socket) { val task = serviceSocketTask(socket.asBufferedSocket()) results.add(task) task.run()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
.build(), ) val webSocket: WebSocket = newWebSocket() clientListener.assertOpen() val server = serverListener.assertOpen() // Sleep longer than the HTTP client's read timeout. Thread.sleep((client.readTimeoutMillis + 500).toLong()) server.send("abc") clientListener.assertTextMessage("abc") closeWebSockets(webSocket, server) } @Test
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 35.5K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java
connected = true; break; } catch (final Exception e) { logger.info("[{}] {}", i + 1, e.getMessage()); } ThreadUtil.sleep(200L); } if (!connected) { throw new IllegalStateException("Could not connect to the Samba server"); } } @OverrideCreated: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Tue Sep 23 06:42:59 GMT 2025 - 30K bytes - Click Count (0) -
tests/lru_test.go
} lc.Add("key1", "val1") time.Sleep(100 * time.Millisecond) // not enough to expire if lc.Len() != 1 { t.Fatalf("length differs from expected") } v, ok = lc.Get("key1") if v != "val1" { t.Fatalf("value differs from expected") } if !ok { t.Fatalf("should be true") } time.Sleep(200 * time.Millisecond) // expire v, ok = lc.Get("key1") if ok {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Sep 08 09:19:22 GMT 2025 - 10.4K bytes - Click Count (0)