Skip to content

Commit

Permalink
Puma Telemetry
Browse files Browse the repository at this point in the history
Code coverage

Signed-off-by: Rodrigo Nardi <[email protected]>
  • Loading branch information
RodrigoMNardi committed Jun 13, 2024
1 parent 02838d2 commit 7693354
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/helpers/telemetry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
class Telemetry
include Singleton

# :nocov:
def update_stats(stats)
File.write('telemetry.json', stats.to_json)
end

def stats
JSON.parse(File.read('telemetry.json'))
end
# :nocov:
end

0 comments on commit 7693354

Please sign in to comment.