mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
make sure the entry has been updated
This commit is contained in:
@@ -36,6 +36,14 @@ public class SubscriptionHandler {
|
||||
FeedDAO feedDAO;
|
||||
|
||||
public void subscribe(Feed feed) {
|
||||
|
||||
try {
|
||||
// make sure the feed has been updated for the callback to work
|
||||
Thread.sleep(30000);
|
||||
} catch (InterruptedException e1) {
|
||||
// do nothing
|
||||
}
|
||||
|
||||
String hub = feed.getPushHub();
|
||||
String topic = feed.getPushTopic();
|
||||
String publicUrl = FeedUtils
|
||||
|
||||
Reference in New Issue
Block a user