Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for pin1 (0.02 seconds)

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            assertEquals("Status of production-cluster is changed to GREEN.", result);
        }
    
        // Test with exception during ping
        @Test
        public void test_execute_pingException() {
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
                @Override
                public PingResponse ping() {
                    throw new RuntimeException("Connection failed");
                }
            };
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                final PingResponse pingResponse = searchEngineClient.ping();
                writeJsonResponse(pingResponse.getStatus() == 0 ? HttpServletResponse.SC_OK : HttpServletResponse.SC_SERVICE_UNAVAILABLE,
                        "\"data\":" + pingResponse.getMessage());
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to process a ping request.", e);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
  3. .github/workflows/tests.yml

              MYSQL_USER: gorm
              MYSQL_PASSWORD: gorm
              MYSQL_RANDOM_ROOT_PASSWORD: "yes"
            ports:
              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
          uses: actions/setup-go@v5
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Mar 23 10:05:06 GMT 2026
    - 9K bytes
    - Click Count (0)
  4. docs/ko/docs/deployment/versions.md

    지금 바로 **FastAPI**로 프로덕션 애플리케이션을 만들 수 있습니다(그리고 아마도 한동안 그렇게 해오셨을 것입니다). 다만 나머지 코드와 함께 올바르게 동작하는 버전을 사용하고 있는지 확인하기만 하면 됩니다.
    
    ## `fastapi` 버전을 고정하기 { #pin-your-fastapi-version }
    
    가장 먼저 해야 할 일은 여러분의 애플리케이션에서 올바르게 동작하는 것으로 알고 있는 **FastAPI**의 최신 구체 버전에 맞춰 사용 중인 버전을 "고정(pin)"하는 것입니다.
    
    예를 들어, 앱에서 `0.112.0` 버전을 사용하고 있다고 가정해 보겠습니다.
    
    `requirements.txt` 파일을 사용한다면 다음과 같이 버전을 지정할 수 있습니다:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/deployment/versions.md

    這就是為什麼目前版本仍為 `0.x.x`,這表示每個版本都可能包含破壞性變更。這遵循 [語意化版本(Semantic Versioning)](https://semver.org/) 的慣例。
    
    你現在就可以用 **FastAPI** 建置生產環境的應用(而且你可能已經這麼做一段時間了),只要確保你使用的版本能與其餘程式碼正確相容。
    
    ## 鎖定你的 `fastapi` 版本 { #pin-your-fastapi-version }
    
    首先,你應該將你使用的 **FastAPI** 版本「鎖定(pin)」到你知道對你的應用可正常運作的最新特定版本。
    
    例如,假設你的應用使用 `0.112.0` 版本。
    
    如果你使用 `requirements.txt` 檔案,可以這樣指定版本:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    這表示你會使用完全相同的 `0.112.0` 版本。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/server-sent-events.md

    ## Technische Details { #technical-details }
    
    FastAPI implementiert einige bewährte SSE-Praktiken direkt out of the box.
    
    - Alle 15 Sekunden, wenn keine Nachricht gesendet wurde, einen **„keep alive“-`ping`-Kommentar** senden, um zu verhindern, dass einige Proxys die Verbindung schließen, wie in der [HTML-Spezifikation: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes) vorgeschlagen.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/server-sent-events.md

    ## Detalhes Técnicos { #technical-details }
    
    O FastAPI implementa algumas boas práticas de SSE prontas para uso.
    
    - Enviar um comentário de keep alive `ping` a cada 15 segundos quando não houver mensagens, para evitar que alguns proxies fechem a conexão, como sugerido na [especificação HTML: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/server-sent-events.md

    ## Detalles técnicos { #technical-details }
    
    FastAPI implementa algunas mejores prácticas de SSE desde el primer momento.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt

          settings: Settings,
        )
    
        /** HTTP/2 only. */
        fun ackSettings()
    
        /**
         * Read a connection-level ping from the peer. `ack` indicates this is a reply. The data
         * in `payload1` and `payload2` opaque binary, and there are no rules on the content.
         */
        fun ping(
          ack: Boolean,
          payload1: Int,
          payload2: Int,
        )
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/server-sent-events.md

    - Akışın **cache'lenmesini önlemek** için `Cache-Control: no-cache` header'ını ayarlar.
    - Nginx gibi bazı proxy'lerde **buffering'i önlemek** için özel `X-Accel-Buffering: no` header'ını ayarlar.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 5.1K bytes
    - Click Count (0)
Back to Top