Incresed wait time after broken connection from 30 to 60 seconds

This commit is contained in:
tastytea 2018-05-27 01:25:32 +02:00
parent 1273f72e4b
commit 0a380dbab4
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.7.1
VERSION 0.7.2
LANGUAGES CXX
)

View File

@ -128,8 +128,8 @@ const void Listener::start()
if (ret != 0 && ret != 14) // 14 means canceled by user
{
syslog(LOG_ERR, "Connection terminated: Error %u", ret);
syslog(LOG_INFO, "Waiting for 30 seconds");
std::this_thread::sleep_for(std::chrono::seconds(30));
syslog(LOG_INFO, "Waiting for 60 seconds");
std::this_thread::sleep_for(std::chrono::seconds(60));
}
_running = false;
});