summaryrefslogtreecommitdiff
path: root/src/syncClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/syncClient.cpp')
-rw-r--r--src/syncClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syncClient.cpp b/src/syncClient.cpp
index 6dceb00..c6be0d8 100644
--- a/src/syncClient.cpp
+++ b/src/syncClient.cpp
@@ -94,7 +94,7 @@ void SyncClient::run()
if (connected)
cLog.msg(Log::PRIO_NOTICE) << "sync: connection to " << hostname_ <<":"<< port_<< " lost ("<< e.what() << ") retrying every 10sec";
connected=false;
- sleep(10);
+ boost::this_thread::sleep(boost::posix_time::milliseconds(10000));
}
}
}