Closed (fixed)
Project:
Feeds
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Jul 2010 at 00:52 UTC
Updated:
29 Sep 2010 at 19:50 UTC
Jump to comment: Most recent file
Right now Feeds keeps on pulling even if there is a successful PuSH notification subscription for a feed.
The underlying reason is that feeds_scheduler() is not fine grained enough, it can only control the schedule periods per importer, not per source to be imported. This particular issue should be addressed with #721428: Make scheduler next scheduled time based.
Once this patch is in, we can start slowing down subscriptions that receive PuSH notifications. I would suggest to slow down to one update per day or similar. This may need to be configurable.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 867892-7_slow_push.patch | 2.24 KB | alex_b |
| #6 | 867892-6_slow_push.patch | 2.23 KB | alex_b |
| #2 | 867892-2_push.patch | 4.43 KB | alex_b |
| #1 | 867892-1_push.patch | 3.82 KB | alex_b |
Comments
Comment #1
alex_b commented- Splits verifyRequest() in verifyRequest() and verificationResponse() to intercept status (yes/no) of verification step.
- Adds pseudo code for slowing down schedule period if request was successful.
Comment #2
alex_b commentedThis is a little more matured, it considers the fact that a verification request can be for 'subscribe' and 'unsubscribe'.
Comment #3
alex_b commentedComment #4
alex_b commentedComment #5
AntiNSA commentedsubscribe
Comment #6
alex_b commented#908964: Break out job scheduler Makes this easy:
Comment #7
alex_b commented$this->importer->fetcher->importPeriod($this)
not
$this->fetcher->importPeriod($this)
Comment #8
alex_b commentedThis is committed now.
http://drupal.org/cvs?commit=422442