본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

업스트림 타임아웃 정책 설정 레퍼런스

원문 보기 위키 갱신

업스트림 타임아웃 정책 설정 레퍼런스 (Upstream Timeout Policy Configuration Reference)

이 문서는 업스트림 타임아웃 정책에서 설정할 수 있는 파라미터를 정리한 설정 레퍼런스예요. 업스트림 서버와의 연결을 맺는 시간(connect_timeout)과 요청 전송 중 읽기·쓰기 작업 사이의 대기 시간(read_timeout, send_timeout)을 밀리초 단위로 지정하는 방법을 다뤄요. 각 값은 1부터 2^31-2(2147483646) 사이의 정수로 설정해야 한다는 제약도 함께 확인할 수 있어요.

출처: 문서

본문

{
  "properties": {
    "config": {
      "type": "object",
      "properties": {
        "read_timeout": {
          "type": "integer",
          "maximum": 2147483646,
          "minimum": 0,
          "description": "The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. Must be an integer between 1 and 2^31-2."
        },
        "send_timeout": {
          "type": "integer",
          "maximum": 2147483646,
          "minimum": 0,
          "description": "The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. Must be an integer between 1 and 2^31-2."
        },
        "connect_timeout": {
          "type": "integer",
          "maximum": 2147483646,
          "minimum": 0,
          "description": "The timeout in milliseconds for establishing a connection to the upstream server. Must be an integer between 1 and 2^31-2."
        }
      }
    }
  }
}

더 알아보기 (Learn more)

이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.