class Datadog::Profiling::Exporter

def can_flush?

def can_flush?
  !duration_below_threshold?(last_flush_finish_at || created_at, time_provider.now.utc)
end