mirror of
https://github.com/Icinga/icinga2.git
synced 2025-06-06 14:50:32 +02:00
ido_mysql: Fix deadlock.
This commit is contained in:
parent
8a99019146
commit
dfda90f744
@ -73,6 +73,7 @@ void MysqlDbConnection::TxTimerHandler(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MysqlDbConnection::ReconnectTimerHandler(void)
|
void MysqlDbConnection::ReconnectTimerHandler(void)
|
||||||
|
{
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lock(m_ConnectionMutex);
|
boost::mutex::scoped_lock lock(m_ConnectionMutex);
|
||||||
|
|
||||||
@ -145,6 +146,7 @@ void MysqlDbConnection::ReconnectTimerHandler(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Query("BEGIN");
|
Query("BEGIN");
|
||||||
|
}
|
||||||
|
|
||||||
UpdateAllObjects();
|
UpdateAllObjects();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user