| From: | Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com> |
|---|---|
| To: | pgadmin-hackers(at)postgresql(dot)org |
| Subject: | pgAdmin 4 commit: Fix for Exception when the server is restarted. Fixes |
| Date: | 2017-09-18 17:39:29 |
| Message-ID: | E1du013-00018g-Hp@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-hackers |
Fix for Exception when the server is restarted. Fixes #2713
This issue was caused because we recently added session_write_delay in session.
So session won't be written/updated to disk from memory until specified seconds are elapsed.
However we must forcefully write/update session to disk if user loges in or out irrespective of session_write_delay to keep sessions from memory and disk in sync as user logged in status is kept in session.
Branch
------
WEBPACK_DEVEL
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=134fde54fe8125889542908c47fffe4e176af6fc
Author: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
Modified Files
--------------
web/pgadmin/__init__.py | 7 +++++--
web/pgadmin/utils/session.py | 4 +++-
2 files changed, 8 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Devrim Gündüz | 2017-09-18 19:15:26 | Re: v2.0 RC2 test builds |
| Previous Message | Dave Page | 2017-09-18 16:12:55 | v2.0 RC2 test builds |