Skip to content

Commit

Permalink
pluginhub controller: fix scheduled task delay
Browse files Browse the repository at this point in the history
This was meant to be 30 minutes
  • Loading branch information
Adam- committed Oct 21, 2020
1 parent 0e4cfae commit 9fc8f19
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -114,7 +114,7 @@ public void submit(HttpServletRequest request, @RequestBody String[] plugins)
}
}

@Scheduled(fixedDelay = 1_8000_000, initialDelay = 30_000) // 30 minutes with 30 second initial delay
@Scheduled(fixedDelay = 1_800_000, initialDelay = 30_000) // 30 minutes with 30 second initial delay
public void rebuildCounts()
{
Map<String, Long> counts = new HashMap<>();
Expand Down

0 comments on commit 9fc8f19

Please sign in to comment.