make sure the entry has been updated

This commit is contained in:
Athou
2013-06-07 15:54:47 +02:00
parent a73d82bd6c
commit 27804db165
2 changed files with 13 additions and 2 deletions

View File

@@ -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