Incresed wait time after broken connection from 30 to 60 seconds
This commit is contained in:
parent
1273f72e4b
commit
0a380dbab4
|
@ -1,6 +1,6 @@
|
||||||
cmake_minimum_required (VERSION 3.7)
|
cmake_minimum_required (VERSION 3.7)
|
||||||
project (expandurl-mastodon
|
project (expandurl-mastodon
|
||||||
VERSION 0.7.1
|
VERSION 0.7.2
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -128,8 +128,8 @@ const void Listener::start()
|
||||||
if (ret != 0 && ret != 14) // 14 means canceled by user
|
if (ret != 0 && ret != 14) // 14 means canceled by user
|
||||||
{
|
{
|
||||||
syslog(LOG_ERR, "Connection terminated: Error %u", ret);
|
syslog(LOG_ERR, "Connection terminated: Error %u", ret);
|
||||||
syslog(LOG_INFO, "Waiting for 30 seconds");
|
syslog(LOG_INFO, "Waiting for 60 seconds");
|
||||||
std::this_thread::sleep_for(std::chrono::seconds(30));
|
std::this_thread::sleep_for(std::chrono::seconds(60));
|
||||||
}
|
}
|
||||||
_running = false;
|
_running = false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue