mirror of https://github.com/M66B/FairEmail.git
Fixed duplicate sends
This commit is contained in:
parent
6646fb4567
commit
49c8e3c1c6
|
@ -68,7 +68,8 @@ public class ServiceSend extends ServiceBase {
|
||||||
|
|
||||||
private PowerManager.WakeLock wlOutbox;
|
private PowerManager.WakeLock wlOutbox;
|
||||||
private TwoStateOwner owner = new TwoStateOwner("send");
|
private TwoStateOwner owner = new TwoStateOwner("send");
|
||||||
private ExecutorService executor = Helper.getBackgroundExecutor(1, "send");
|
|
||||||
|
private static ExecutorService executor = Helper.getBackgroundExecutor(1, "send");
|
||||||
|
|
||||||
private static final int PI_SEND = 1;
|
private static final int PI_SEND = 1;
|
||||||
private static final long CONNECTIVITY_DELAY = 5000L; // milliseconds
|
private static final long CONNECTIVITY_DELAY = 5000L; // milliseconds
|
||||||
|
|
Loading…
Reference in New Issue