autoSyndrome: need to check JOB_COMPLETED very often to catch cancelled jobs properly.

develop
expwnent 2013-05-25 10:20:22 -04:00
parent b44cd86dc9
commit 141043363d
1 changed files with 1 additions and 1 deletions

@ -95,7 +95,7 @@ command_result autoSyndrome(color_ostream& out, vector<string>& parameters) {
EventManager::unregisterAll(plugin_self); EventManager::unregisterAll(plugin_self);
if ( enabled ) { if ( enabled ) {
EventManager::EventHandler handle(processJob, 5); EventManager::EventHandler handle(processJob, 0);
EventManager::registerListener(EventManager::EventType::JOB_COMPLETED, handle, plugin_self); EventManager::registerListener(EventManager::EventType::JOB_COMPLETED, handle, plugin_self);
} }
return CR_OK; return CR_OK;