Skip to content

Commit fc0c3a4

Browse files
committed
Less noisy logging.
1 parent d4864ed commit fc0c3a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/async/container/supervisor/memory_monitor.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ def add(process_id)
3333

3434
# Register the connection (worker) with the memory monitor.
3535
def register(connection)
36-
Console.info(self, "Registering connection:", connection: connection, state: connection.state)
36+
Console.debug(self, "Registering connection:", connection: connection, state: connection.state)
3737
if process_id = connection.state[:process_id]
3838
connections = @processes[process_id]
3939

4040
if connections.empty?
41-
Console.info(self, "Registering process:", process_id: process_id)
41+
Console.debug(self, "Registering process:", process_id: process_id)
4242
self.add(process_id)
4343
end
4444

@@ -54,7 +54,7 @@ def remove(connection)
5454
connections.delete(connection)
5555

5656
if connections.empty?
57-
Console.info(self, "Removing process:", process_id: process_id)
57+
Console.debug(self, "Removing process:", process_id: process_id)
5858
@cluster.remove(process_id)
5959
end
6060
end

0 commit comments

Comments
 (0)