Displaying 5 results from an estimated 5 matches for "get_feed".
Did you mean:
get_feeds
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
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
#
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
2007 Dec 21
4
I need some guidance
I''m building an http communicator class for a web service API wrapper and
I''m trying to go through the BDD process in doing so. I''m having a bit of a
struggle figuring out how to set up the tests in relation to isolating
things appropriately as well as testing behavior vs testing implementation.
Specifically, I''m trying to set up a post method on my
2007 Apr 18
5
[BUG] worker stopping abruptly
...gin
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. But a quick check from database says...