From c62ce74315e41501c1363612d72e80ac9a0ab689 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Fri, 23 Apr 2021 13:29:23 +0200 Subject: [PATCH] TMSS-717: reverted to setting the queueing state just before the queued state. It's near impossible to keep MAC internal bookkeeping in sync with TMSS --- MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc index e19da90cfb6..aec6f8214c0 100644 --- a/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc +++ b/MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc @@ -579,7 +579,7 @@ GCFEvent::TResult MACScheduler::active_state(GCFEvent& event, GCFPortInterface& } else { // TODO: set to queueing state the moment MAC knows about this upoming obs. // I've tried that but it's realy hard to keep the MAC internal bookkeeping and TMSS in sync. - itsTMSSconnection->setSubtaskState(subtask_id, "queueing"); + itsTMSSconnection->setSubtaskState(theObs->second, "queueing"); itsTMSSconnection->setSubtaskState(theObs->second, "queued"); } break; -- GitLab