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