Longer write timeout

Sometimes we have a lot of data to send at once and a receiver might
have problems coping. Though, this might have been an implementation
problem of the receiving end here.
parent 60b543d2
Pipeline #1934 passed with stage
in 1 minute and 34 seconds
......@@ -198,7 +198,7 @@ void Report::processFlows() {
}
size_t active_count(fds.size());
uint64_t now = timeMsec(CLOCK_MONOTONIC_COARSE);
uint64_t end = now + 1000; // We provide 1 second to send everything
uint64_t end = now + 3000; // We provide 3 seconds to send everything
while (active_count > 0 && end >= now) {
const size_t max_events = 10;
struct epoll_event events[max_events];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment