Skip to content

Commit

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

Signed-off-by: Rodrigo Nardi <[email protected]>
  • Loading branch information
RodrigoMNardi committed Jun 13, 2024
1 parent 0588c76 commit 02838d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/helpers/telemetry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Telemetry
def update_stats(stats)
File.write('telemetry.json', stats.to_json)
end

def stats
JSON.parse(File.read('telemetry.json'))
end
Expand Down

0 comments on commit 02838d2

Please sign in to comment.