Skip to content

Commit

Permalink
set task timer interval from 3s to 1s
Browse files Browse the repository at this point in the history
Change-Id: I0e9628c26566d019edecc22c8114a0cc9bdeee5b
  • Loading branch information
javeme committed Jan 6, 2022
1 parent a31a667 commit ebe9960
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ public final class TaskManager {
"server-info-db-worker-%d";
public static final String TASK_SCHEDULER = "task-scheduler-%d";

protected static final int SCHEDULE_PERIOD = 3; // Unit second
protected static final int SCHEDULE_PERIOD = 1; // Unit second

private static final int THREADS = 4;
private static final TaskManager MANAGER = new TaskManager(THREADS);

Expand Down

0 comments on commit ebe9960

Please sign in to comment.