- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for 250ms (0.05 seconds)
-
internal/config/heal/heal.go
} // DefaultKVS - default KV config for heal settings var DefaultKVS = config.KVS{ config.KV{ Key: Bitrot, Value: config.EnableOff, }, config.KV{ Key: Sleep, Value: "250ms", }, config.KV{ Key: IOCount, Value: "100", }, config.KV{ Key: DriveWorkers, Value: "", }, } const minimumBitrotCycleInMonths = 1Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 04 19:06:02 GMT 2024 - 4.9K bytes - Click Count (0) -
docs/config/README.md
### Healing
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.1K bytes - Click Count (1) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
val bodySource = response.body.source() assertThat(bodySource.readByte()).isEqualTo('d'.code.toByte()) // The second byte of this request will be delayed by 750ms so we should time out after 250ms. val startNanos = System.nanoTime() bodySource.use { assertFailsWith<IOException> { bodySource.readByte() }.also { expected -> // Timed out as expected.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
cmd/testdata/undeleteable-object.tgz
:"endpoints","value":""},{"key":"path_prefix","value":""},{"key":"coredns_path","value":"/skydns"},{"key":"client_cert","value":""},{"key":"client_cert_key","value":""}]},"heal":{"_":[{"key":"bitrotscan","value":"off"},{"key":"max_sleep","value":"250ms"},{"key":"max_io","value":"100"},{"key":"drive_workers","value":""}]},"identity_ldap":{"_":[{"key":"enable","value":""},{"key":"server_addr","value":""},{"key":"srv_record_name","value":""},{"key":"user_dn_search_base_dn","value":""},{"key":"use m...
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 26 00:31:12 GMT 2024 - 8.7M bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
private HandleInfo testHandle; @BeforeEach public void setUp() { MockitoAnnotations.openMocks(this); reconnector = new HandleReconnector(mockManager, 2, 50); // 2 retries, 50ms delay HandleGuid guid = new HandleGuid(); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15); // Generous tolerance for CI environments like GitHub Actions assertTrue("Expected less than 200ms sleep, got " + elapsed + "ms", elapsed < 200); } @Test public void test_waitForNext_withZeroInterval() { configHelper.setReloadInterval(0L); long startTime = System.currentTimeMillis();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
} @Test public void testRdmaErrorHandlerBehavior() { RdmaStatistics stats = new RdmaStatistics(); RdmaErrorHandler errorHandler = new RdmaErrorHandler(stats, 3, 50); // 3 retries, 50ms delay assertNotNull(errorHandler, "Error handler should not be null"); // Test error classification for different exception typesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
// Ensure alive starts as true assertTrue(dataStore.alive); final int readerThreadCount = 5; final long testDurationMs = 200; // Run for 200ms final Thread[] readerThreads = new Thread[readerThreadCount]; final java.util.List<Boolean>[] observations = new java.util.List[readerThreadCount]; final CountDownLatch startLatch = new CountDownLatch(1);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* request, and ensure that (1/QPS) seconds have elapsed since then. For example, for a rate of * QPS=5 (5 tokens per second), if we ensure that a request isn't granted earlier than 200ms after * the last one, then we achieve the intended rate. If a request comes and the last request was * granted only 100ms ago, then we wait for another 100ms. At this rate, serving 15 fresh permits
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath); assertNotNull(entry); // Set very short expiration time entry.setMaxAge(50); // 50ms // Update cache List<SmbFile> files = Arrays.asList(mockFile1); directoryLeaseManager.updateDirectoryCache(directoryPath, files); assertTrue(entry.isComplete());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0)