We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc0c3a4 commit 17adb1eCopy full SHA for 17adb1e
lib/async/container/supervisor/memory_monitor.rb
@@ -14,6 +14,7 @@ class MemoryMonitor
14
#
15
# @parameter interval [Integer] The interval at which to check for memory leaks.
16
# @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.
18
def initialize(interval: 10, total_size_limit: nil, **options)
19
@interval = interval
20
@cluster = Memory::Leak::Cluster.new(total_size_limit: total_size_limit)
0 commit comments