Skip to content

Commit

Permalink
Update flow control logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Mar 18, 2020
1 parent 60a28e3 commit 9bd4644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/protocol/http2/flow_control.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def send_window_update(window_increment)
def receive_window_update(frame)
amount = frame.unpack

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

if amount != 0
@remote_window.expand(amount)
Expand Down
2 changes: 1 addition & 1 deletion lib/protocol/http2/framer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def write_frame(frame)
# Async.logger.debug(self, name: "write") {frame.inspect}

frame.write(@stream)

# Don't call @stream.flush here because it can cause significant contention if there is a semaphore around this method.
# @stream.flush

Expand Down

0 comments on commit 9bd4644

Please sign in to comment.