mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
Change LogView indication
Имена недоступных серверов подсвечиваются. Информационное окно об отсутствии соединения не показывается. Таймаут между попытками установки соединения сокращен до 2 минут.
This commit is contained in:
parent
641cbcf282
commit
9676013083
4 changed files with 364 additions and 10 deletions
|
|
@ -338,7 +338,7 @@ void pgConn::Close()
|
|||
|
||||
|
||||
// Reconnect to the server
|
||||
bool pgConn::Reconnect()
|
||||
bool pgConn::Reconnect(bool message)
|
||||
{
|
||||
// Close the existing (possibly broken) connection
|
||||
Close();
|
||||
|
|
@ -349,6 +349,7 @@ bool pgConn::Reconnect()
|
|||
// Attempt the reconnect
|
||||
if (!DoConnect())
|
||||
{
|
||||
if (!message) return false;
|
||||
wxLogError(_("Failed to re-establish the connection to the server %s"), GetName().c_str());
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue