diff options
author | Vitaly Takmazov | 2018-01-15 17:16:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-01-15 17:16:04 +0300 |
commit | 10328bb6531af29a3da8d9121d7ba9434845a19b (patch) | |
tree | f08165f497349e783a59fc9232a674ef7c051c09 /juick-api/src/main | |
parent | 6aa90365cbb3cf8e88d986beefec6755c13b7f55 (diff) |
api: top refresh rate is 1 hour
Diffstat (limited to 'juick-api/src/main')
-rw-r--r-- | juick-api/src/main/java/com/juick/api/TopManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-api/src/main/java/com/juick/api/TopManager.java b/juick-api/src/main/java/com/juick/api/TopManager.java index c762aa83..ddf8e092 100644 --- a/juick-api/src/main/java/com/juick/api/TopManager.java +++ b/juick-api/src/main/java/com/juick/api/TopManager.java @@ -31,7 +31,7 @@ public class TopManager { @Inject private MessagesService messagesService; - @Scheduled(fixedRate = 120000) + @Scheduled(fixedRate = 3600000) public void updateTop() { messagesService.getPopularCandidates().forEach(m -> { logger.info("added {} to popular", m); |