Skip to content

Commit

Permalink
Abbassate letture a 15 minuti, aggiunto log
Browse files Browse the repository at this point in the history
  • Loading branch information
samuele794 committed May 21, 2019
1 parent 2cc6009 commit 014782d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ class BDONewsRSSScheduler : RSSScheduler {
* Task per schedulare il controllo e la pubblicazione di una
* nuova news di BDO.
*
* Il controllo è fatto ogni 30 minuti.
* Il controllo è fatto ogni 15 minuti.
*/
@Scheduled(fixedRate = 1800000, initialDelay = 1800000)
@Scheduled(fixedRate = 900000/*, initialDelay = 900000*/)
fun taskFeedRSSBDONews() {
val rssNewsMessage = bdorssReader.readRSS("https://community.blackdesertonline.com/index.php?forums/news-announcements.181/index.rss")

TakaoLog.logInfo("BDO NEWS LINK= " + rssNewsMessage.link)
val newsBDO = bdoNewsInterface.getLastBDONews()
if (newsBDO != "") {
if (bdorssReader.isNew(rssNewsMessage.link, newsBDO)) {
Expand Down

0 comments on commit 014782d

Please sign in to comment.