ruby on rails - Feedzirra::Feed.fetch_and_parse(url) returns null when called by Delayed::Job -
feedzirra::feed.fetch_and_parse(url) isn't called directly. have feedjob called dj. job feed.find(id_passed_into_feed_job).update_feed. update_feed method has call feedzirra. when call update_feed within console, works expected. when dj makes call, feedzirra::feed.fetch_and_parse returns nil.
what difference between environments of console , dj cause problem?
how troubleshoot wrong feedzirra::feed.fetch_and_parse?
the problem ended being new relic gem. see bug report: https://github.com/pauldix/feedzirra/issues/167
the fix add
disable_curb: true
to newrelic.yml
Comments
Post a Comment