Skip to content

Commit 17adb1e

Browse files
committed
Documentation.
1 parent fc0c3a4 commit 17adb1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/async/container/supervisor/memory_monitor.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class MemoryMonitor
1414
#
1515
# @parameter interval [Integer] The interval at which to check for memory leaks.
1616
# @parameter total_size_limit [Integer] The total size limit of all processes, or nil for no limit.
17+
# @parameter options [Hash] Options to pass to the cluster when adding processes.
1718
def initialize(interval: 10, total_size_limit: nil, **options)
1819
@interval = interval
1920
@cluster = Memory::Leak::Cluster.new(total_size_limit: total_size_limit)

0 commit comments

Comments
 (0)