Displaying 4 results from an estimated 4 matches for "temp_url".
Did you mean:
temp_ctl
2007 Jul 20
1
Backgroundrb and timeout connections
Hi
We have a RoR application which needs to get the contents of RSS feeds.
The application opens HTTP connections, but the problem is that we have
frequently Timeout::Error because of feeds are not available. It seems
it''not possible to reduce the time of timeout in Ruby... So, I''m
wondering if there is way to solve this with Backgroundrb.
Best regards,
Julien
2007 Apr 18
5
[BUG] worker stopping abruptly
...oks like this:
def do_work(args)
begin
logger.info "Starting the Yahoo feed worker on : #{Time.now}"
yahoo_url = "http://finance.yahoo.com/rss/headline?s="
symbol_list = NasdaqSymbols.find_all()
symbol_list.each do|sym|
temp_sym = sym.symbol.strip
temp_url = yahoo_url + temp_sym
get_feeds(temp_url,temp_sym) rescue next
end
rescue
logger.info $!
logger.info $!.backtrace
end
end
^^^ could be naive, but the point is, why worker stops suddenly
without any errors? Earlier I thought, may be logging has bug and
worker is still running...
2006 Aug 07
2
Call for examples
He folks-
First off thanks to everyone for helping to make this plugin work
better for all of us. Its nice to have a bunch of people testing and
adding features. I would like to ask for people to post some examples
workers. I would really like to get a few more workers to distribute
with the plugin. Especially ones that a lot of people seem to need
like Email workers. So if you are
2006 Nov 07
2
start a worker when bdrb starts
I am sure..again I am missing something, but I am trying to start a
worker, when backgroundrb starts and it doesn''t seem to work.
Here is my config/backgroundrb_schedules.yml file:
feed_worker:
class: feed_worker
job_key: feed_worker_key
worker_method: do_work
trigger_args:
repeat_interval: 20.minutes
I even tried this from Rails controller:
# def start_feed_worker
#