Skip to content

Commit

Permalink
Keep spaces around sentence
Browse files Browse the repository at this point in the history
Co-authored-by: Nuno Góis <[email protected]>
  • Loading branch information
gastonfournier and nunogois authored Dec 10, 2024
1 parent 8b4ec03 commit c21ebfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/unleash/metrics_reporter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ def generate_report

def post
Unleash.logger.debug "post() Report"

report = self.generate_report

if report[:bucket].empty? && (Time.now - self.last_time < LONGEST_WITHOUT_A_REPORT) # and last time is less then 10 minutes...
Unleash.logger.debug "Report not posted to server, as it would have been empty. (and has been empty for up to 10 min)"
return
Expand Down

0 comments on commit c21ebfb

Please sign in to comment.