Sha256: 657093649c600be82de82dca0a2cd4ede2414c50aa61fb14440afc3c8be00ed9
Contents?: true
Size: 547 Bytes
Versions: 1
Compression:
Stored size: 547 Bytes
Contents
require 'bundler' Bundler.require(:default) Resque.redis = FontProcessor::Config.redis_server require 'resque/failure/airbrake' Resque::Failure::Airbrake.configure do |config| config.api_key = FontProcessor::Config.airbrake_api_key config.secure = true end Resque::Failure.backend = Resque::Failure::Airbrake queues = ["27"] worker = Resque::Worker.new(*queues) Resque.logger.level = Logger::DEBUG if ENV['PIDFILE'] File.open(ENV['PIDFILE'], 'w') { |f| f << Process.pid.to_s } end worker.log "Starting worker #{worker}" worker.work(5)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fontprocessor-27.1.3 | worker.rb |