Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 475 for _wait (0.94 sec)

  1. docs/en/docs/tutorial/testing.md

    {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    This allows you to use `pytest` directly without complications.
    
    ///
    
    /// note | Technical Details
    
    You could also use `from starlette.testclient import TestClient`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbException.java

         */
        public long getRetryDelay() {
            switch (severity) {
            case RECOVERABLE:
                return 100; // Immediate retry with small delay
            case TRANSIENT:
                return 5000; // Wait 5 seconds
            default:
                return 0; // No retry
            }
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                }
            }
        }
    
        /**
         * Interrupts the thread and waits for it to terminate.
         *
         * @param timeoutMillis
         *            The time to wait (in milliseconds)
         * @return <code>true</code> if the thread has terminated
         * @throws InterruptedException
         *             If interrupted while waiting
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                    oneWays[index] = securityResourceProvider.providePrimaryOneWayCryptographer();
                });
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. docs/integrations/veeam/README.md

    ## Test the setup
    
    The next time the backup job runs, you can use the  `mc admin trace myminio` command and verify traffic is flowing to the MinIO nodes. For Veeam Backup and Replication you will need to wait for the backup to complete to the performance tier before it migrates data to the capacity tier (i.e., MinIO).
    
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    					endpoints[i].IsLocal = isLocal
    					epsResolved++
    					if !foundLocal {
    						foundLocal = isLocal
    					}
    				}
    			}
    
    			// Wait for the tick, if the there exist a local endpoint in discovery.
    			// Non docker/kubernetes environment we do not need to wait.
    			if !foundLocal && orchestrated {
    				<-keepAliveTicker.C
    			}
    		}
    	}
    
    	// On Kubernetes/Docker setups DNS resolves inappropriately sometimes
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            };
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 100, callback);
            thread.start();
    
            assertTrue("Should process all lines within timeout", latch.await(3, TimeUnit.SECONDS));
    
            thread.join(1000);
    
            assertEquals("All lines should be processed", 5000, receivedLines.size());
            assertEquals("First line", "Line number 0", receivedLines.get(0));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/ResourceManagerTest.java

            TestResource resource = new TestResource("old");
            resourceManager.registerResource(resource);
    
            assertFalse(resource.isClosed());
    
            // Wait for automatic cleanup to kick in
            Thread.sleep(300);
    
            // Perform cleanup
            resourceManager.performCleanup();
    
            // Old resource should be auto-closed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        }
    
        @Test
        public void testGetHandleForReconnectExpired() {
            manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top