Module: CI::Queue::Redis::Base::RedisInstrumentation
- Defined in:
- lib/ci/queue/redis/base.rb
Instance Method Summary collapse
Instance Method Details
#call(command, redis_config) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/ci/queue/redis/base.rb', line 15 def call(command, redis_config) logger = redis_config.custom[:debug_log] logger.info("Running '#{command}'") result = super logger.info("Finished '#{command}': #{result}") result end |
#call_pipelined(commands, redis_config) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/ci/queue/redis/base.rb', line 23 def call_pipelined(commands, redis_config) logger = redis_config.custom[:debug_log] logger.info("Running '#{commands}'") result = super logger.info("Finished '#{commands}': #{result}") result end |