pgadmin4/web/pgadmin/utils
Harshal Dhumal d339d6b816 Do not dump the session data on the disk on every request.
Session object is updated, everytime a request is being served, and
that was forcing the session object dumped on the dist on every request.

On windows, it was causing issues on slower system on startup. Because -
windows file system locks the file, when it is opened by any
application. And, frequent requests on the pgAdmin main UI rendering
was causing issues, because of that.

In order to resolve the issue, we will not write the session data on
disk for every request, but - only after certain delay (in seconds),
from it was last written. It can be configured using the attribute
'PGADMIN_SESSION_DISK_WRITE_DELAY' in the configuration file,
default vaule for the delay is 10.
(i.e. 10 seconds)
2017-07-25 15:52:32 +05:30
..
driver Add a field to the Server Dialogue allowing users to specify a subset of databases they'd like to see in the treeview. Fixes #1918 2017-07-21 12:44:57 +01:00
javascript Fix the JS Bundler test to work when there are multiple servers defined in a test run. 2017-06-14 09:37:20 +01:00
sqlautocomplete Revert code cleanup that wasn't 2.6 compatible. 2017-03-27 21:27:17 -04:00
tests Improvements to the Query Results grid: 2017-06-08 13:31:36 +01:00
__init__.py Added support of Declarative Partitioning (Range, List) for PostgreSQL 10. 2017-07-07 11:55:55 +05:30
ajax.py Format JSON more efficiently. This can significantly reduce response sizes from the server. 2017-01-06 14:09:36 +00:00
crypto.py Fix encoding issue when saving servers. Fixes #2518 2017-06-28 09:44:32 -04:00
exception.py Added support of Declarative Partitioning (Range, List) for PostgreSQL 10. 2017-07-07 11:55:55 +05:30
html.py Ensure object names are properly escaped for external process management. Fixes #2405 2017-05-15 13:01:12 +01:00
menu.py Allow the dashboard panel to be closed. Fixes #2506 2017-06-30 10:11:34 +01:00
paths.py Import config only when needed, it was causing cyclic dependency when 2017-03-07 16:07:10 +05:30
preferences.py Fix preferences handling for utilities. 2017-06-22 12:18:56 +01:00
route.py Make feature test app teardown more reliable, and tests faster 2017-03-01 13:20:06 +00:00
session.py Do not dump the session data on the disk on every request. 2017-07-25 15:52:32 +05:30
versioned_template_loader.py Fix error on the stats tab with PG10. Also, rename the 10.0_plus template directory to 10_plus to match the new versioning. Fixes #2450 2017-06-12 12:53:09 +01:00