search for: 71432d2

Displaying 2 results from an estimated 2 matches for "71432d2".

Did you mean: 1143202
2009 May 29
1
[PATCH server] Make taskomatic not do tasks if not connected to qpidd.
...t's connected before attempting to implement tasks. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/taskomatic.rb | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 5393c29..71432d2 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -843,6 +843,13 @@ class TaskOmatic def mainloop() loop do + + if not @broker.connected? + @logger.error("Cannot implement tasks, not connected to broker. Sleeping.") + sleep(@sl...
2009 May 29
1
[PATCH server] Also print reconnect message in log.
...econnect message. This patch makes it log on reconnect as well. Signed-off-by: Ian Main <imain at redhat.com> --- src/task-omatic/taskomatic.rb | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/task-omatic/taskomatic.rb b/src/task-omatic/taskomatic.rb index 71432d2..1b4d83b 100755 --- a/src/task-omatic/taskomatic.rb +++ b/src/task-omatic/taskomatic.rb @@ -842,14 +842,19 @@ class TaskOmatic end def mainloop() + was_disconnected = false loop do if not @broker.connected? - @logger.error("Cannot implement tasks, not connected...