Skip to content

Commit

Permalink
hibernating and dehibernating ensembles as well
Browse files Browse the repository at this point in the history
  • Loading branch information
iliasger committed Dec 22, 2015
1 parent 02e26e0 commit a032a70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -685,9 +685,9 @@ void ensembleControllerActiveChanged(ComponentInstance instance, EnsembleControl
Log.i(String.format("Changing the activity of ensemble task %s corresponding to ensemble definition %s to %s.", t, controller.getEnsembleDefinition(), active));

if (active) {
scheduler.addTask(t);
scheduler.deHibernateTask(t);
} else {
scheduler.removeTask(t);
scheduler.hibernateTask(t);
}
}

Expand Down

0 comments on commit a032a70

Please sign in to comment.