Questions tagged [resque-status]

Resque-status is an extension to the resque queue system that provides simple trackable jobs.

Resque-status provides a set of simple classes that extend resque's default functionality (with 0% monkey patching) to give apps a way to track specific job instances and their status. It achieves this by giving job instances UUID's and allowing the job instances to report their status from within their iterations.


6 questions
3
votes
1 answer

Resque Job and rspec

I have a Resque job that I am trying to test using rspec. The job looks something like: class ImporterJob def perform job_key = options['test_key'] user = options['user'] end I am using Resque status so I am using the create method to create…
Jackson
  • 6,391
  • 6
  • 32
  • 43
2
votes
1 answer

Ruby on Rails 4 resque-status progress bar

I developed a RoR app that does some file processing in the background using resque-status. I want to be able to display a CSS progress bar of the percentage status of the background job. Is there a way to get the status of the job from the view…
astronomotrous
  • 431
  • 1
  • 3
  • 12
2
votes
1 answer

Adding to status inside resque-status job

I'm trying to pass a value from inside my job to the status hash, exactly as described here: https://github.com/quirkey/resque-status#passing-back-data-from-the-job But I don't understand how I'm supposed to do it. Here's my job class: module…
Yarin
  • 173,523
  • 149
  • 402
  • 512
0
votes
2 answers

How to run a resque job in the console?

I am trying to call a job in the console but always get errors. Followed the following…
0
votes
1 answer

How to handle SIGTERM with resque-status in complex jobs

I've been using resque on Heroku, which will from time to time interrupt your jobs with a SIGTERM. Thus far I've handled this with a simple: def process(options) do_the_job rescue Resque::TermException self.defer options end We've started using…
ChrisJ
  • 2,486
  • 21
  • 40
0
votes
1 answer

Ruby on Rails working in background [resque + resque-status]

I am building a webapp using ruby on rails that requires running C++ exe programs in the background. I compared 3 most frequently used gems for this(Delayed_Jobs, Resque, Sidekiq) and found that resque is the most suitable for me. In Countroller I…
newbee
  • 91
  • 1
  • 10