Skip to content

Commit 9bd4644

Browse files
committed
Update flow control logging.
1 parent 60a28e3 commit 9bd4644

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/protocol/http2/flow_control.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def send_window_update(window_increment)
8484
def receive_window_update(frame)
8585
amount = frame.unpack
8686

87-
# puts "expanding remote_window=#{@remote_window} by #{amount}"
87+
# Async.logger.info(self) {"expanding remote_window=#{@remote_window} by #{amount}"}
8888

8989
if amount != 0
9090
@remote_window.expand(amount)

lib/protocol/http2/framer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def write_frame(frame)
103103
# Async.logger.debug(self, name: "write") {frame.inspect}
104104

105105
frame.write(@stream)
106-
106+
107107
# Don't call @stream.flush here because it can cause significant contention if there is a semaphore around this method.
108108
# @stream.flush
109109

0 commit comments

Comments
 (0)