# HG changeset patch # User Michael Granger # Date 1558545193 25200 # Wed May 22 10:13:13 2019 -0700 # Node ID 3689a0184718c56b8b57d657254b830d403c2e1a # Parent b3db756e1a0160bcd32083e24c5f5d1a5cfb5e2f Turn on verbose on monitors if $VERBOSE is set diff --git a/lib/cztop/reactor.rb b/lib/cztop/reactor.rb --- a/lib/cztop/reactor.rb +++ b/lib/cztop/reactor.rb @@ -293,6 +293,7 @@ monitor = CZTop::Monitor.new( socket ) monitor.listen( *events ) monitor.start + monitor.verbose! if $VERBOSE self.register( monitor.actor, :read, &callback )