Sha256: d9f10755ad9e5b85a856bf0dfdd19fbce31edbc14054134d85ffd4abaa6dd7f8
Contents?: true
Size: 368 Bytes
Versions: 11
Compression:
Stored size: 368 Bytes
Contents
class SiblingConsumer extend HerokuResqueAutoscaler if Rails.env.production? @queue = :consumer def self.perform Rails.logger.info "Starting sibling consumption..." Sibling.consume_main_app_hcard Rails.logger.info "Succeeded consuming siblings." rescue StandardError => e Rails.logger.info "Failed consuming siblings." raise e end end
Version data entries
11 entries across 11 versions & 1 rubygems