Skip to content
Snippets Groups Projects
Commit d08df230 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Skip clock adjust if peer error

parent 0130bfb8
No related branches found
No related tags found
1 merge request!97Resolves #160 by resync of clock
Pipeline #13007 passed
......@@ -183,6 +183,7 @@ void Streamer::_addClient(const string &source, int N, int rate, const ftl::UUID
mastertime = net_->call<int64_t>(peer, "__ping__");
} catch (...) {
//timer_job_.cancel();
return;
}
auto elapsed = std::chrono::high_resolution_clock::now() - start;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment