- use 'next_flush_time' as a time.Time instead of computing
  duration-since-last-flush-or-start; I think it makes the code more
  readable to say "is the current time after next_flush_time?"
dep notes