mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
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…
x
Reference in New Issue
Block a user