All Products
Search
Document Center

PolarDB:Polar.ai.http_keep_alive

Last Updated:Apr 08, 2025

Specifies whether to enable persistent HTTP connections.

Data types

Boolean

Values

  • ON: Enables persistent HTTP connections.

  • OFF: Disables persistent HTTP connections.

Examples

  • Enable persistent HTTP connections for the current session.

    SET polar.ai.http_keep_alive = ON;
  • Disable persistent HTTP connections for a specific database.

    ALTER DATABASE <dbname> SET polar.ai.http_keep_alive = OFF;