Removed send delay

This commit is contained in:
M66B 2020-07-28 22:37:20 +02:00
parent 5cd57301c8
commit 8168875dd3
1 changed files with 0 additions and 9 deletions

View File

@ -78,7 +78,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
private static ExecutorService executor = Helper.getBackgroundExecutor(1, "send");
private static final int PI_SEND = 1;
private static final long CONNECTIVITY_DELAY = 5000L; // milliseconds
private static final int RETRY_MAX = 3;
@Override
@ -316,14 +315,6 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
Log.w(ex);
}
// Wait for stabilization of connection
if (suitable)
try {
Thread.sleep(CONNECTIVITY_DELAY);
} catch (InterruptedException ex) {
Log.w(ex);
}
if (suitable)
owner.start();
else {