mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
9080a782d5
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.
35 lines
802 B
C
35 lines
802 B
C
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
// pgAdmin4.h - Main application header
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef PGADMIN4_H
|
|
#define PGADMIN4_H
|
|
|
|
// Include the Python header here as it needs to appear before any QT
|
|
// headers anywhere in the app.
|
|
#include <Python.h>
|
|
|
|
// QT headers
|
|
#include <QtGlobal>
|
|
|
|
#if QT_VERSION >= 0x050000
|
|
#include <QtWidgets>
|
|
#else
|
|
#include <QApplication>
|
|
#endif
|
|
|
|
// Application name
|
|
const QString PGA_APP_NAME = QString("pgAdmin 4");
|
|
|
|
// Server URL
|
|
const QString PGA_SERVER_URL = QString("http://127.0.0.1:8080");
|
|
|
|
#endif // PGADMIN4_H
|