mirror of
https://github.com/Icinga/icinga2.git
synced 2026-03-26 20:33:36 -04:00
parent
4800cbb210
commit
f19cc514b9
2 changed files with 4 additions and 4 deletions
|
|
@ -84,10 +84,10 @@ void IdoMysqlConnection::Resume(void)
|
|||
|
||||
void IdoMysqlConnection::Pause(void)
|
||||
{
|
||||
DbConnection::Pause();
|
||||
|
||||
m_ReconnectTimer.reset();
|
||||
|
||||
DbConnection::Pause();
|
||||
|
||||
m_QueryQueue.Enqueue(boost::bind(&IdoMysqlConnection::Disconnect, this));
|
||||
m_QueryQueue.Join();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,10 +86,10 @@ void IdoPgsqlConnection::Resume(void)
|
|||
|
||||
void IdoPgsqlConnection::Pause(void)
|
||||
{
|
||||
DbConnection::Pause();
|
||||
|
||||
m_ReconnectTimer.reset();
|
||||
|
||||
DbConnection::Pause();
|
||||
|
||||
m_QueryQueue.Enqueue(boost::bind(&IdoPgsqlConnection::Disconnect, this));
|
||||
m_QueryQueue.Join();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue