Re: Support millisecond accuracy for timeouts

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Support millisecond accuracy for timeouts
Дата
Msg-id CA+0W9LNRGq6GA9uafG8q=hMQajr7RefTBUhHn26gFDTNWdzYDQ@mail.gmail.com
обсуждение исходный текст
Ответ на Support millisecond accuracy for timeouts  (Stevo Slavić <sslavic@gmail.com>)
Ответы Re: Support millisecond accuracy for timeouts  (Stevo Slavić <sslavic@gmail.com>)
Список pgsql-jdbc
On 25 November 2011 16:07, Stevo Slavić <sslavic@gmail.com> wrote:

> loginTimeout and socketTimeout connection parameters (
> http://jdbc.postgresql.org/documentation/head/connect.html#connection-parameters
> ) seem to be at 1 second accuracy. Could this be improved to support
> millisecond accuracy? Would like to configure these timeouts at value lower
> then a second.

loginTimeout should already support fractional values; what are you
seeing that makes you think it has whole-second resolution?
socketTimeout looks like a small change to do the same (parse as float
and scale to milliseconds), maybe you can send a patch for that?

Oliver

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

Предыдущее
От: Stevo Slavić
Дата:
Сообщение: Support millisecond accuracy for timeouts
Следующее
От: Stevo Slavić
Дата:
Сообщение: Re: Support millisecond accuracy for timeouts