lib/pubnub/client.rb in pubnub-4.0.16 vs lib/pubnub/client.rb in pubnub-4.0.17
- old
+ new
@@ -229,10 +229,10 @@
# For async events it checks if there's already RequestDispatcher
# created and returns it if created, otherwise creates it, assigns
# it in @env and returns newly created dispatcher.
def request_dispatcher(origin, event_type, sync)
Pubnub.logger.debug('Pubnub::Client') do
- "Looking for requester for #{event_type}"
+ "Looking for requester for #{sync ? 'sync' : 'async'} #{event_type}"
end
if sync
@env[:req_dispatchers_pool][:sync][origin] ||= {}
@env[:req_dispatchers_pool][:sync][origin][event_type] ||=