queue_dispatcher 1.1.17 → 1.1.18
Sign up to get free protection for your applications and to get access to all the features.
@@ -64,7 +64,7 @@ module QueueDispatcher
|
|
64
64
|
|
65
65
|
|
66
66
|
# This method updates the task state according to the return code of their corresponding command and removes it from the task_queue
|
67
|
-
def update_state(rc_and_msg, remove_from_queue =
|
67
|
+
def update_state(rc_and_msg, remove_from_queue = false)
|
68
68
|
rc = output = error_msg = nil
|
69
69
|
|
70
70
|
if rc_and_msg.is_a?(QueueDispatcher::RcAndMsg)
|