Save the runtime status information in the application object for using
it other places.
globals() does not return consistent value across the application
context.
Thanks Neel Patel for reporting the issue.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=a35288e25de1d977fd3f9aa1dbcc989fa5f99fb5
Modified Files
--------------
web/pgAdmin4.py | 3 +++
web/pgadmin/misc/bgprocess/processes.py | 10 ++--------
2 files changed, 5 insertions(+), 8 deletions(-)