Skip to content
Snippets Groups Projects
Commit a04bff87 authored by Alex Barth's avatar Alex Barth
Browse files

Improve doc of FeedsScheduler.

parent ed59bfd8
No related branches found
No related tags found
No related merge requests found
......@@ -50,14 +50,16 @@ interface FeedsSchedulerInterface {
/**
* Implementation of FeedsSchedulerInterface.
*
* This scheduler uses the last_scheduled_time paradigm: By storing the time
* when a particular feed was scheduled to be refreshed last rather than
* storing when a feed should be _refreshed_ next, we gain two advantages:
* This scheduler uses the last_refreshed_time paradigm: By storing the time
* when a particular feed was refreshed last rather than storing when a feed
* should be refreshed next, we gain two advantages:
*
* 1) If a feed's import_period setting changes, it has immediate effects -
* without batch updating an existing schedule.
* 2) The time between refreshes will always be scheduled based on when it
* has been scheduled last. Less drift occurs.
*
* This behavior may change soon: http://drupal.org/node/721428
*/
class FeedsScheduler implements FeedsSchedulerInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment