move debug output for clarity
This commit is contained in:
parent
9c5ffbb0dc
commit
7cc297ea16
|
@ -62,8 +62,8 @@ int main(int argc, char *argv[])
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(5));
|
std::this_thread::sleep_for(std::chrono::seconds(5));
|
||||||
if (!listener.stillrunning())
|
if (!listener.stillrunning())
|
||||||
{
|
{
|
||||||
cout << "DEBUG: Reestablishing connection...\n";
|
|
||||||
listener.stop();
|
listener.stop();
|
||||||
|
cout << "DEBUG: Reestablishing connection...\n";
|
||||||
listener.start();
|
listener.start();
|
||||||
new_messages = listener.catchup();
|
new_messages = listener.catchup();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue