mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Handle slow startup of the web server.
If the web server is slow to start, we may need to retry the initial page load. Implement a retry system that will retry the initial load 4 times, after 1, 2, 3 and 4 seconds, before giving up and leaving the user with an error message and a link to retry manually.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
Server::Server()
|
||||
{
|
||||
// Initialise Python
|
||||
Py_SetProgramName(PGA_APPNAME.toUtf8().data());
|
||||
Py_SetProgramName(PGA_APP_NAME.toUtf8().data());
|
||||
Py_Initialize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user