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:
Dave Page
2013-06-22 00:49:40 +01:00
parent 7fd90ac10f
commit 9080a782d5
4 changed files with 62 additions and 4 deletions

View File

@@ -25,7 +25,7 @@
Server::Server()
{
// Initialise Python
Py_SetProgramName(PGA_APPNAME.toUtf8().data());
Py_SetProgramName(PGA_APP_NAME.toUtf8().data());
Py_Initialize();
}