Debug message

- Added debug message when a task is woken from the waiting state.
This commit is contained in:
Paul Beckingham 2010-09-16 21:18:42 -04:00
parent afbbc87ec4
commit 8904daf9e5

View file

@ -657,6 +657,9 @@ int TDB::gc ()
task->setStatus (Task::pending); task->setStatus (Task::pending);
task->remove ("wait"); task->remove ("wait");
++count_pending_changes; // modification ++count_pending_changes; // modification
context.debug (std::string ("TDB::gc waiting -> pending for ") +
task->get ("uuid"));
} }
still_pending.push_back (*task); still_pending.push_back (*task);