[pgAdmin][RM5000] Logout the inactive session

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM5000] Logout the inactive session
Date: 2020-01-13 13:33:42
Message-ID: CAM9w-_k-FQitHhRmVTh2F0bB4+7LGV8qxR3=v=x6hrYyzs+rDg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
RM5000.patch application/octet-stream 18.6 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2020-01-14 04:57:31 [pgAdmin4][Patch]: RM 5053 - Getting an error while changing the columns in the existing view
Previous Message Akshay Joshi 2020-01-13 12:50:06 pgAdmin 4 commit: Schema Diff Improvements: