It would be nice to have the opportunity to set an delay between the feed refreshes.

Background : Some websites limit the api calls to their rss feeds per second/minute. It would be nice to get around possible timeouts/request timeouts and so on.

Comments

XiaN Vizjereij’s picture

( No edit button o_O )

Additional explanation : Lets say i have 50 different feedurls and feeds from mydummywebsite.com which i grab via calls to api.mydummywebsite/getrss?="name1". Because of possible DDoS attacks, its only allowed to call that api 10 times per second.

So it would be nice to set some sort of delay like

getfeed1
delay 250ms
getfeed2
delay 250ms

of maybe something like

get the first 10 feeds
delay 250ms
get the nest 10 feeds

alex_b’s picture

Status: Active » Postponed

Hmm... Not sure how I feel about that. It's basically adding another variable to an already quite complex system. We would at least have to make sure that the timing out feed updates is more robust if we embarked on this. Also: it is completely unclear on how to implement this when downloading from an API parallelly using Drupal Queue...

I recommend using the classes override mechanism (see README.txt and FeedsScheduler::instance()) to implement this functionality tailored to your use case.

Setting to postponed for now.

kenorb’s picture

Issue summary: View changes
Status: Postponed » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.