mirror of https://github.com/Icinga/icinga2.git
DbConnection#Pause(): call overridden method as last step
Otherwise it marks the object as paused and the other steps become no-ops. refs #8727
This commit is contained in:
parent
8dc069dc24
commit
40c0bfad23
|
@ -87,8 +87,6 @@ void DbConnection::Resume()
|
|||
|
||||
void DbConnection::Pause()
|
||||
{
|
||||
ConfigObject::Pause();
|
||||
|
||||
Log(LogInformation, "DbConnection")
|
||||
<< "Pausing IDO connection: " << GetName();
|
||||
|
||||
|
@ -113,6 +111,8 @@ void DbConnection::Pause()
|
|||
ExecuteQuery(query1);
|
||||
|
||||
NewTransaction();
|
||||
|
||||
ConfigObject::Pause();
|
||||
}
|
||||
|
||||
void DbConnection::InitializeDbTimer()
|
||||
|
|
Loading…
Reference in New Issue