mirror of https://github.com/Icinga/icinga2.git
DbConnection#Pause(): also update is_currently_running and process_id
refs #8727
This commit is contained in:
parent
3d8586ccec
commit
8918b38dea
|
@ -103,7 +103,9 @@ void DbConnection::Pause()
|
|||
|
||||
query1.Fields = new Dictionary({
|
||||
{ "instance_id", 0 }, /* DbConnection class fills in real ID */
|
||||
{ "program_end_time", DbValue::FromTimestamp(Utility::GetTime()) }
|
||||
{ "program_end_time", DbValue::FromTimestamp(Utility::GetTime()) },
|
||||
{ "is_currently_running", 0 },
|
||||
{ "process_id", Empty }
|
||||
});
|
||||
|
||||
query1.Priority = PriorityHigh;
|
||||
|
|
Loading…
Reference in New Issue