resend after 10sec allowed
This commit is contained in:
parent
9e3edbb530
commit
496872a58e
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ public class NSClientService extends Service {
|
||||||
public void run() {
|
public void run() {
|
||||||
if (mSocket == null || !mSocket.connected()) return;
|
if (mSocket == null || !mSocket.connected()) return;
|
||||||
|
|
||||||
if (lastResendTime > new Date().getTime() - 30 * 1000L) {
|
if (lastResendTime > new Date().getTime() - 10 * 1000L) {
|
||||||
log.debug("Skipping resend by lastResendTime: " + ((new Date().getTime() - lastResendTime) / 1000L) + " sec");
|
log.debug("Skipping resend by lastResendTime: " + ((new Date().getTime() - lastResendTime) / 1000L) + " sec");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue