Skip to content

Commit

Permalink
🐛 delay team sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Jun 16, 2024
1 parent dd038f2 commit b85bc6b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,12 @@ public void startup(@Observes StartupEvent startup) {
if (task != null) {
task.run();
}
}, 10, 10, TimeUnit.SECONDS);
}, 60, 10, TimeUnit.SECONDS);
}

@IfBuildProfile("test")
public void testStartup(@Observes StartupEvent startup) {
Log.debug("TeamMemberSync.testStartup: TEST INTERVALS");
executor.scheduleAtFixedRate(() -> {
Runnable task = taskQueue.poll();
if (task != null) {
Expand Down

0 comments on commit b85bc6b

Please sign in to comment.