mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-02 05:19:12 -06:00
d339d6b816
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) |
||
---|---|---|
.. | ||
about | ||
browser | ||
dashboard | ||
feature_tests | ||
help | ||
misc | ||
model | ||
preferences | ||
redirects | ||
settings | ||
setup | ||
static | ||
templates | ||
tools | ||
translations | ||
utils | ||
__init__.py | ||
messages.pot |