sosedoff / pgweb

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

Terminate old sessions #274

Closed sosedoff closed 7 years ago

sosedoff commented 7 years ago

When running pgweb in multi-session mode, there's no way to remove any old sessions. They will stick around for a long time until the server restarts. We should remove any sessions that have no activity within last 24 hours. There's already a timestamp implemented on the client struct that records the last usage time.

sosedoff commented 7 years ago

Implemented in master