mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
store average entry interval and use it to decide when to reschedule feed refresh when it returns 304
This commit is contained in:
@@ -82,7 +82,7 @@ public class PubSubHubbubCallbackREST {
|
||||
try {
|
||||
byte[] bytes = IOUtils.toByteArray(request.getInputStream());
|
||||
FetchedFeed fetchedFeed = parser.parse(null, bytes);
|
||||
String topic = fetchedFeed.getTopic();
|
||||
String topic = fetchedFeed.getFeed().getPushTopic();
|
||||
if (topic != null) {
|
||||
log.debug("content callback received for {}", topic);
|
||||
List<Feed> feeds = feedDAO.findByTopic(topic);
|
||||
|
||||
Reference in New Issue
Block a user