Skip to content

Commit

Permalink
hack
Browse files Browse the repository at this point in the history
  • Loading branch information
utaal committed Aug 29, 2017
1 parent afc47db commit 2479ee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
});
Expand Down

0 comments on commit 2479ee4

Please sign in to comment.