All Products
Search
Document Center

PolarDB:Polar.ai.http_timeout_mesc

Last Updated:Mar 28, 2026

Maximum time allowed for the polar.ai extension to establish an HTTP connection before the request is terminated.

Type: Integer | Default: 10000 | Valid values: 0–100000 (milliseconds)

Examples

Set the timeout for the current session:

SET polar.ai.http_timeout_msec = 3000;

Set the timeout for a specific database:

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