]> git.mxchange.org Git - hub.git/commitdiff
Commented it out again (has delayed to much) + moved task up as this is a very early...
authorRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 22:17:53 +0000 (23:17 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 22:17:53 +0000 (23:17 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/filter/task/node/class_NodeTaskHandlerInitializerFilter.php
application/hub/main/handler/tasks/class_TaskHandler.php

index 9f540061304065de8a4bb8f8e748a76edc0298d0..fd64698bc37c123f97f64128babc6a62e4716f99 100644 (file)
@@ -61,6 +61,12 @@ class NodeTaskHandlerInitializerFilter extends BaseNodeFilter implements Filtera
                // Get a new task handler instance
                $handlerInstance = ObjectFactory::createObjectByConfiguredName('task_handler_class');
 
+               // Prepare a package-tags initialization task for the listeners
+               $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_tags_init_task_class');
+
+               // Register it
+               $handlerInstance->registerTask('package_tags_init', $taskInstance);
+
                // Generate socket listener task
                $taskInstance = ObjectFactory::createObjectByConfiguredName('node_socket_listener_task_class');
 
@@ -115,12 +121,6 @@ class NodeTaskHandlerInitializerFilter extends BaseNodeFilter implements Filtera
                // Register it as well
                $handlerInstance->registerTask('dht_publication', $taskInstance);
 
-               // Prepare a package-tags initialization task for the listeners
-               $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_tags_init_task_class');
-
-               // Register it
-               $handlerInstance->registerTask('package_tags_init', $taskInstance);
-
                // Prepare a self-test task for the listeners
                $taskInstance = ObjectFactory::createObjectByConfiguredName('node_selfconnect_task_class');
 
index 8fca1643859ad050011c825a719580d072771cd2..22796915add76203d55ea0d8a1779e8f798ac51e 100644 (file)
@@ -99,7 +99,7 @@ class TaskHandler extends BaseHandler implements Registerable, HandleableTask {
                        // Should we start now?
                        if ($diff < $currentTask['task_startup_delay']) {
                                // Skip this silently
-                               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TASK-HANDLER[' . __LINE__ . ']: Task ' . $currentTask['id'] . ' not started: diff=' . $diff . ',task_startup_delay=' . $currentTask['task_startup_delay']);
+                               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TASK-HANDLER[' . __LINE__ . ']: Task ' . $currentTask['id'] . ' not started: diff=' . $diff . ',task_startup_delay=' . $currentTask['task_startup_delay']);
                                return;
                        } // END - if