Sha256: 61f63130cfda861b92a6463dd77e5aabb7b472253c7ece17c5443c49eb747b97
Contents?: true
Size: 407 Bytes
Versions: 11
Compression:
Stored size: 407 Bytes
Contents
class SiblingInstructionConsumer extend HerokuResqueAutoscaler if Rails.env.production? @queue = :consumer def self.perform Rails.logger.info "Starting instruction feed consumption..." Sibling::Instruction.consume_feed Rails.logger.info "Succeeded consuming instruction feed." rescue StandardError => e Rails.logger.info "Failed consuming instruction feed." raise e end end
Version data entries
11 entries across 11 versions & 1 rubygems