diff options
author | Alex Emelyanov <holyketzer@gmail.com> | 2019-06-08 18:38:15 +0500 |
---|---|---|
committer | Alex Emelyanov <holyketzer@gmail.com> | 2019-06-08 19:23:47 +0500 |
commit | 99c98c80348d37109ec672801f36c79014e5d3bf (patch) | |
tree | 03b3588711b84137dc921a26c90275baed03fd47 /actioncable/lib/action_cable | |
parent | dc2a5d4c3407dc8dc12b389f845b7797bafdfdd7 (diff) | |
download | rails-99c98c80348d37109ec672801f36c79014e5d3bf.tar.gz rails-99c98c80348d37109ec672801f36c79014e5d3bf.tar.bz2 rails-99c98c80348d37109ec672801f36c79014e5d3bf.zip |
ActionCable: optimize logger.debug calling
Diffstat (limited to 'actioncable/lib/action_cable')
-rw-r--r-- | actioncable/lib/action_cable/server/broadcasting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/server/broadcasting.rb b/actioncable/lib/action_cable/server/broadcasting.rb index bc54d784b3..b73cfa7d1f 100644 --- a/actioncable/lib/action_cable/server/broadcasting.rb +++ b/actioncable/lib/action_cable/server/broadcasting.rb @@ -40,7 +40,7 @@ module ActionCable end def broadcast(message) - server.logger.debug "[ActionCable] Broadcasting to #{broadcasting}: #{message.inspect}" + server.logger.debug { "[ActionCable] Broadcasting to #{broadcasting}: #{message.inspect}" } payload = { broadcasting: broadcasting, message: message, coder: coder } ActiveSupport::Notifications.instrument("broadcast.action_cable", payload) do |