1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 07:01:05 +00:00

20% duty/cycle

This commit is contained in:
M66B 2022-02-03 10:39:45 +01:00
parent bd161a27c5
commit 516cbf055f

View file

@ -31,8 +31,8 @@ public class DutyCycle {
private long idle = 0;
private long busy = 0;
private static final long YIELD_INTERVAL = 15 * 1000L; // milliseconds
private static final long YIELD_DURATION = 1500L; // milliseconds
private static final long YIELD_INTERVAL = 10 * 1000L; // milliseconds
private static final long YIELD_DURATION = 2000L; // milliseconds
public DutyCycle(String name) {
this(name, YIELD_INTERVAL, YIELD_DURATION);