Sha256: ed1a380b97550898ba1102c4a7e08e45827fbae231fee22b27675bb8b12c13aa
Contents?: true
Size: 413 Bytes
Versions: 9
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true Resque.redis = ENV.fetch('REDIS_URL', 'redis://localhost:6379') Resque.redis.namespace = ENV.fetch('RESQUE_NAMESPACE', 'resque:development') project_id = ENV.fetch('AIR_BRAKE_PROJECT_ID', nil) project_key = ENV.fetch('AIR_BRAKE_PROJECT_KEY', nil) if project_id.present? && project_key.present? require 'airbrake/resque' Resque::Failure.backend = Resque::Failure::Airbrake end
Version data entries
9 entries across 9 versions & 1 rubygems