All Products
Search
Document Center

PolarDB:Polar.ai.http_timeout_mesc

Last Updated:Apr 08, 2025

Sets the HTTP connection timeout.

Data types

Integer

Values

Valid values: 0 to 100000. Unit: milliseconds. Default value: 10000.

Examples

  • Set the HTTP connection timeout for the current session.

    SET polar.ai.http_timeout_msec = 3000;
  • Set the HTTP connection timeout for a specific database.

    ALTER DATABASE <dbname> SET polar.ai.http_timeout_msec = 1000;