Commit 9575a0e0bb483818b7e4aef5c3f567038342591f

Authored by Jürgen Knödlseder
1 parent 2aa3d265

Add some diagnostics.

src/vo/GVOClient.cpp
@@ -636,9 +636,10 @@ bool GVOClient::require_hub(void) @@ -636,9 +636,10 @@ bool GVOClient::require_hub(void)
636 else { 636 else {
637 637
638 // Check that Hub is alive 638 // Check that Hub is alive
639 - for (int i = 0; i < 3; ++i) { 639 + for (int i = 0; i < 5; ++i) {
640 found = find_hub() && ping_hub(); 640 found = find_hub() && ping_hub();
641 if (found) { 641 if (found) {
  642 +std::cout << "*** Hub is alive ***" << std::endl;
642 break; 643 break;
643 } 644 }
644 sleep(1); 645 sleep(1);
src/vo/GVOHub.cpp
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 #define G_KEY 12345 58 #define G_KEY 12345
59 59
60 /* __ Debug definitions __________________________________________________ */ 60 /* __ Debug definitions __________________________________________________ */
61 -//#define G_CONSOLE_DUMP 61 +#define G_CONSOLE_DUMP
62 62
63 63
64 /*========================================================================== 64 /*==========================================================================