Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for _timeout (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

        if (timeoutEarlyExit) return cause
        if (!timeout.exit()) return cause
    
        val e = InterruptedIOException("timeout")
        if (cause != null) e.initCause(cause)
        return e
      }
    
      /**
       * Stops applying the timeout before the call is entirely complete. This is used for WebSockets
       * and duplex calls where the timeout only applies to the initial setup.
       */
      fun timeoutEarlyExit() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

              IllegalStateException("Invalid content-type: ${body.contentType()}"),
              response,
            )
            return
          }
    
          // This is a long-lived response. Cancel full-call timeouts.
          call?.timeout()?.cancel()
    
          // Replace the body with a stripped one so the callbacks can't see real data.
          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. docs/recipes.md

    All the HTTP client configuration lives in `OkHttpClient` including proxy settings, timeouts, and caches. When you need to change the configuration of a single call, call `OkHttpClient.newBuilder()`. This returns a builder that shares the same connection pool, dispatcher, and configuration with the original client. In the example below, we make one request with a 500 ms timeout and another with a 3000 ms timeout.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        public void test_setCommandTimeout() throws Exception {
            final long timeout = 5000L;
            generator.setCommandTimeout(timeout);
            assertTrue(true);
        }
    
        public void test_setCommandDestroyTimeout() throws Exception {
            final long timeout = 2000L;
            generator.setCommandDestroyTimeout(timeout);
            assertTrue(true);
        }
    
        public void test_setBaseDir() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. guava-gwt/pom.xml

                  <!-- Fix OutOfMemoryError under Travis. -->
                  <extraJvmArgs>-Xms3500m -Xmx3500m -Xss1024k</extraJvmArgs>
                  <sourceLevel>1.8</sourceLevel>
                  <!-- Keep these timeouts very large because, if we hit the timeout, the tests silently pass :( -->
                  <testTimeOut>86400 <!-- seconds --></testTimeOut>
                  <testMethodTimeout>1440 <!-- minutes --></testMethodTimeout>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 21:35:58 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

            .headersDelay(500, TimeUnit.MILLISECONDS)
            .setHeader("content-type", "text/event-stream")
            .body("data: hey\n\n")
            .build(),
        )
        newEventSource()
        listener.assertFailure("timeout")
      }
    
      @Test
      fun retainsAccept() {
        server.enqueue(
          MockResponse
            .Builder()
            .body(
              """
              |data: hey
              |
              |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Sets the scroll timeout for delete operations.
         *
         * @param scrollForDelete the scroll timeout string
         */
        public void setScrollForDelete(final String scrollForDelete) {
            this.scrollForDelete = scrollForDelete;
        }
    
        /**
         * Sets the scroll timeout for search operations.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         */
        public boolean calibrateCpuLoad() {
            return calibrateCpuLoad(0L);
        }
    
        /**
         * Calibrates the CPU load with a timeout.
         *
         * @param timeoutInMillis The timeout in milliseconds.
         * @return true if the CPU load is within the acceptable range, false otherwise.
         */
        public boolean calibrateCpuLoad(final long timeoutInMillis) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top