Re: [PATCH] Exponential backoff for auth_delay

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: [PATCH] Exponential backoff for auth_delay
Дата
Msg-id CA+TgmobJ0t_rVkNXWBDgS2NsR-Uo79g9UQ8kQMKib_JGRsHEag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Exponential backoff for auth_delay  (Michael Banck <mbanck@gmx.net>)
Список pgsql-hackers
On Mon, Mar 4, 2024 at 4:58 PM Michael Banck <mbanck@gmx.net> wrote:
> Alright, I have changed it so that auth_delay.milliseconds and
> auth_delay.max_milliseconds are the only GUCs, their default being 0. If
> the latter is 0, the former's value is always taken. If the latter is
> non-zero and larger than the former, exponential backoff is applied with
> the latter's value as maximum delay.
>
> If the latter is smaller than the former then auth_delay just sets the
> delay to the latter, I don't think this is problem or confusing, or
> should this be considered a misconfiguration?

Seems fine to me. We may need to think about what the documentation
should say about this, if anything.

--
Robert Haas
EDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Reducing the log spam
Следующее
От: Bertrand Drouvot
Дата:
Сообщение: Re: Missing LWLock protection in pgstat_reset_replslot()