Tagged Questions

Background jobs can be any Ruby class or module that responds to perform. Your existing classes can easily be converted to background jobs or you can create new classes specifically to do work. Or, you can do both. Resque is heavily inspired by DelayedJob (which rocks) and comprises three parts: A ...

learn more… | top users | synonyms

0
votes
0answers
5 views

Ruby On Rails - Resque - Stop Workers / Pid-Command

I have used this command to start a resque schedule on Ubuntu but how do I do if I want to stop the workers and schedules? PIDFILE=./resque.pid BACKGROUND=yes QUEUE="*" rake resque:scheduler >> ...
1
vote
1answer
29 views

Find out if a resque job is still running and kill it if it's stuck

I have an application that uses resque to run some long-running jobs. Sometimes the take 8 hours or more to complete. In situations where the job fails, is there a way to monitor resque itself to see ...
0
votes
0answers
6 views

Setting up Rescue and Redis without Rails

I know this is a rather vague question, and not really a programming problem, but I'm struggling a bit to set up a Resque system. The problem I have is the following: I know how to write the Jobs ...
0
votes
0answers
8 views

Database transaction logging in resque worker slows down Rails responsiveness

I have a Resque job which pulls a csv list of data off of a remote server and then runs through the +40k entries to add any new items to an existing database table. The job is running fine however it ...
0
votes
1answer
27 views

task does not get 'failed' when using rescue

I have a task like this... def self.perform(parsed_json) do_hard_work use_faye_to_push_status rescue => exception use_faye_to_push_error end but, when I use the 'rescue', the task doesn't ...
1
vote
4answers
61 views

Redis on Ruby On Rails - uninitialized constant

I'm using passenger on Ubuntu Server with Apache installed. When I try to load the ruby application with redis on it I get this error. Error message: uninitialized constant ...
0
votes
1answer
32 views

Carrierwave/Paperclip and Resque - Sharing across several computers

I am working on a rails application that requires files to be uploaded to my server and then have resque workers (running on several other computers) use those files to do some tasks. I have my ...
1
vote
1answer
23 views

how to send response with resque

We have 3 resque workers here, that process and convert some data. Now, I need to send a response to the one who sent me the data. How do I send a response? Do resque have async-something way to send ...
2
votes
2answers
46 views

deploying redis to heroku unable to connect

ive been trying to get resque to work with heroku. i can successfully get it to work in development mode, however when i try pushing to heroku i get Errno::ECONNREFUSED (Connection refused - Unable ...
0
votes
1answer
45 views

Resque and redis server not playing well with each other

I have install the redis server using these commands, wget http://download.redis.io/redis-stable.tar.gz xvzf redis-stable.tar.gz cd redis-stable make make test # to test everything is working out ...
1
vote
0answers
41 views

GitHub's Redis and Resque failure behavior?

Anyone have any insight into how GitHub deals with the potential failure or temporary unavailability of a Redis server when using Resque? There are others that seem to have put together ...
0
votes
2answers
26 views

Undefined method - NOMethod error with Resque gem

I am trying to generate xml file as a background task using resque gem here is the class which generates xml file .... ENV['RAILS_ENV'] = ARGV.first || ENV['RAILS_ENV'] require ...
2
votes
0answers
13 views

Message push - popped but Job doesn't start in Resque

I facing this weird issue that the message are push into the queue and pop out of the queue but still cant find the background job associated with the message getting started in resque. Its hard to ...
1
vote
3answers
42 views

How to display a 'your payment is processing…' page to a user while processing the transaction in the background?

I run an online store that experiences very spiky traffic. Recently, the entire system came to a standstill during a big sale event because the payment gateway had some kind of problem, and responses ...
0
votes
0answers
21 views

Mailer (sent by Resque) doesn't find the host set in development.rb

development.rb config.action_mailer.default_url_options = { :host => "dev.local" } mymailer.html.haml =Rails.application.routes.url_helpers.booking_url('12312') # Missing host to link to! ...

1 2 3 4 5 21
15 30 50 per page