danar scheduled disconnection 3->5 sec

This commit is contained in:
Milos Kozak 2016-07-14 23:36:12 +02:00
parent 90fee59e8a
commit 0fd07362e5

View file

@ -248,7 +248,7 @@ public class DanaConnection {
if (scheduledDisconnection != null)
scheduledDisconnection.cancel(false);
Runnable task = new DisconnectRunnable();
final int sec = 3;
final int sec = 5;
scheduledDisconnection = worker.schedule(task, sec, TimeUnit.SECONDS);
//if (Config.logDanaBTComm)
// log.debug("Disconnection scheduled in " + sec + "secs");