Hi guys,

First of all, a big thanks for beanstalk team.
I am using stalker for managing my background jobs.
I have some process which would run for more than 119s.
Those jobs which takes more than 119s are raising "Exception
Stalker::JobTimeout".
I know I can manually specify the ttr like below.

Stalker.enqueue("video.webm", {:id => @video.id}, {:ttr => 10})

But the problem is, I really don't have any idea how much the time
process would consume. It may take minutes to hours.
The ideal approach is use "touch". I don't find any resources online
on how do the stalker way of touching beanstalkd saying im still
alive.

job "run.query" do |args|
  @query_event = QueryEvent.find(args["id"])
  @query_event.execute_query!
end

My job looks something like the above. Help is appreciated.

Thanks,
Deepak.

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to