Internal ping every two minutes

This commit is contained in:
Stephen Paul Weber 2023-12-29 18:36:07 +01:00 committed by 12aw
parent efdb6a744a
commit 7af92975cc

View file

@ -1765,7 +1765,7 @@ public class XmppConnectionService extends Service {
mForceDuringOnCreate.set(false);
toggleForegroundService();
setupPhoneStateListener();
internalPingExecutor.scheduleAtFixedRate(this::manageAccountConnectionStatesInternal,10,10,TimeUnit.SECONDS);
internalPingExecutor.scheduleAtFixedRate(this::manageAccountConnectionStatesInternal,120,120,TimeUnit.SECONDS);
rescanStickers();
//start export log service every day at given time
ScheduleAutomaticExport();