All Products
Search
Document Center

PolarDB:Polar.ai.retry_times

Last Updated:Apr 08, 2025

Sets the maximum number of retry attempts for failed HTTP requests.

Data types

Integer

Values

Valid values: 0 to 100. Default value: 0.

Examples

  • Set the number of retry attempts for failed HTTP requests for the current session.

    SET polar.ai.retry_times = 1;
  • Set the number of retry attempts for failed HTTP requests for a specific database.

    ALTER DATABASE <dbname> SET polar.ai.retry_times = 2;