sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.63k stars 732 forks source link

DisableIdleTimeout is not work as expected #341

Closed varp closed 6 years ago

varp commented 6 years ago

The session still freezing when you run pgweb with --disable-idle-timeout. Maybe I do not correctly understand the meaning of that flag?

sosedoff commented 6 years ago

What do you mean by session still freezing ?

There are 2 flags related to the connection idling:

--no-idle-timeout  Disable connection idle timeout (false)
--idle-timeout=    Set connection idle timeout in minutes (180)

These deal with the hanging connections: if pgweb runs in session mode and the session is abandoned it'll be automatically closed, otherwise the server will hoard the database connections.

sosedoff commented 6 years ago

No activity - closing.