Skip to content

Commit 35210c5

Browse files
Simplify process monitor metrics implementation.
1 parent 1b09ca7 commit 35210c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/async/service/supervisor/process_monitor.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ def metrics
6161
#
6262
# @returns [Hash] Status including process metrics.
6363
def status
64-
metrics = self.metrics
65-
{process_monitor: {ppid: @ppid, metrics: metrics}}
64+
{process_monitor: {ppid: @ppid, metrics: self.metrics}}
6665
end
6766

6867
# Run the process monitor.

0 commit comments

Comments
 (0)