danar scheduled disconnection 3->5 sec
This commit is contained in:
parent
90fee59e8a
commit
0fd07362e5
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ public class DanaConnection {
|
||||||
if (scheduledDisconnection != null)
|
if (scheduledDisconnection != null)
|
||||||
scheduledDisconnection.cancel(false);
|
scheduledDisconnection.cancel(false);
|
||||||
Runnable task = new DisconnectRunnable();
|
Runnable task = new DisconnectRunnable();
|
||||||
final int sec = 3;
|
final int sec = 5;
|
||||||
scheduledDisconnection = worker.schedule(task, sec, TimeUnit.SECONDS);
|
scheduledDisconnection = worker.schedule(task, sec, TimeUnit.SECONDS);
|
||||||
//if (Config.logDanaBTComm)
|
//if (Config.logDanaBTComm)
|
||||||
// log.debug("Disconnection scheduled in " + sec + "secs");
|
// log.debug("Disconnection scheduled in " + sec + "secs");
|
||||||
|
|
Loading…
Reference in a new issue