Обсуждение: Keep Connection Alive

Поиск
Список
Период
Сортировка

Keep Connection Alive

От
Anselme Rabouan
Дата:
Hi,

I am using PGAdmin v1.18.1 on my ubuntu 14.04 laptop.
Since my postgresql server kills idle connections after 5 minutes, PGAdmin has to reset them so it's a little bit annoying. 

To avoid that, I tried to use the following .pg_service.conf
[mydb]
keepalives=1
keepalives_idle=10
keepalives_interval=10 

Unfortunately, connections are still closing after 5 minutes idle.

Could you please help me to keep connections got from PGAdmin alive?

Thanks,