Commit b54badd4 authored by Yannick Kirschhoffer's avatar Yannick Kirschhoffer

Retweet only once an hour.

parent 7b6c7076
Pipeline #42615532 passed with stages
in 3 minutes and 16 seconds
......@@ -21,7 +21,7 @@ public class RetweetJob {
this.socializerProperties = socializerProperties;
}
@Scheduled(initialDelay = 5_000L, fixedRate = 300_000L)
@Scheduled(initialDelay = 5_000L, fixedRate = 3600_000L)
public void retweet() {
log.info("Processing retweets...");
socializerProperties.getTwitter().getAccounts().entrySet().stream()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment