mirror of https://github.com/Icinga/icinga2.git
parent
4800cbb210
commit
f19cc514b9
|
@ -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 New Issue