diff options
-rw-r--r-- | activesupport/lib/active_support/notifications/fanout.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/notifications/fanout.rb b/activesupport/lib/active_support/notifications/fanout.rb index 17c99089c1..343bf478a3 100644 --- a/activesupport/lib/active_support/notifications/fanout.rb +++ b/activesupport/lib/active_support/notifications/fanout.rb @@ -2,6 +2,9 @@ module ActiveSupport module Notifications # This is a default queue implementation that ships with Notifications. # It just pushes events to all registered log subscribers. + # + # Only one of these objects should instantiated per thread. Concurrent + # access to this class is not allowed. class Fanout def initialize @subscribers = [] |