[pgAdmin][RM5000] Logout the inactive session - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject [pgAdmin][RM5000] Logout the inactive session
Date
Msg-id CAM9w-_k-FQitHhRmVTh2F0bB4+7LGV8qxR3=v=x6hrYyzs+rDg@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][RM5000] Logout the inactive session  (Dave Page <dpage@pgadmin.org>)
List pgadmin-hackers
Hi Hackers,

Attached is the patch for the feature where inactive session will be logged out. Note that, here inactive session means no user activity of mouse move, click or keypress.
I've introduced two config params:
1. USER_INACTIVITY_TIMEOUT - Interval in seconds for the timeout. Default is 0-Zero which means disabled.
2. OVERRIDE_USER_INACTIVITY_TIMEOUT - If set to true, tools like query tool or debugger will override USER_INACTIVITY_TIMEOUT and will not allow the application to timeout if a query is running for a long time.

The patch also speeds up running jasmine test cases. With webpack 4, the default mode is changed to production instead of development unlike previous versions. Mode is set to development explicitly to improve the speed.

--
Thanks and Regards,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: pgAdmin 4 commit: Schema Diff Improvements:
Next
From: Khushboo Vashi
Date:
Subject: [pgAdmin4][Patch]: RM 5053 - Getting an error while changing thecolumns in the existing view