From 2479ee40980a03a06a7c278ff6763490df482df4 Mon Sep 17 00:00:00 2001 From: Andrea Lattuada Date: Thu, 17 Aug 2017 11:29:46 +0200 Subject: [PATCH] hack --- src/logging.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logging.rs b/src/logging.rs index 14735ea10..e10e4941b 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -313,11 +313,11 @@ pub fn to_tcp_socket() -> (Logging, LogHandle) { writer.send((ts, setup, event)); } if writer.size() >= 1024 || timely_logging::get_precise_time_ns() - cur_time > 1_000_000_000 { - eprint!("f"); + let next_new_time = timely_logging::get_precise_time_ns() - 1_000_000; writer.flush(); writer.advance_by(RootTimestamp::new(new_time)); cur_time = new_time; - new_time = timely_logging::get_precise_time_ns() - 1_000_000; + new_time = next_new_time; } } });