When setting https://postgresqlco.nf/doc/en/param/idle_session_timeout/ , Postgres kills connections which idle for more than idle_session_timeout seconds. Due to the facts that danswer default pool size is pretty big (40 connections), some connections get killed before used, which raise SSL errors.
When setting https://postgresqlco.nf/doc/en/param/idle_session_timeout/ , Postgres kills connections which idle for more than
idle_session_timeout
seconds. Due to the facts that danswer default pool size is pretty big (40 connections), some connections get killed before used, which raise SSL errors.May be related to: https://github.com/danswer-ai/danswer/issues/1622 https://github.com/danswer-ai/danswer/issues/1625
Running in production for 5 days without any issue so far