Обсуждение: pgAdmin 4 commit: Fixes #1185 - While connecting to the server, applica

Поиск
Список
Период
Сортировка

pgAdmin 4 commit: Fixes #1185 - While connecting to the server, applica

От
Ashesh Vashi
Дата:
Fixes #1185 - While connecting to the server, application becomes almost
inaccessible.

In stand (without threaded) mode, flask application is not able to
process more than one request at a time. Hence - even the client
(browser) send multiple request, when connecting the server (which is
inaccessible), rest of operations get blocked, as making the connection
with the database server is blocking operation.

In order to fix the issue, we're starting the application with thread
support, in which it will create a separate thread of each request.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=d202366a5dc3fac79df740ec91080ec7b6cf4cdc
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>

Modified Files
--------------
web/config.py   | 5 +++++
web/pgAdmin4.py | 7 +++++--
2 files changed, 10 insertions(+), 2 deletions(-)