resend after 10sec allowed

This commit is contained in:
Milos Kozak 2017-05-31 09:14:31 +02:00
parent 9e3edbb530
commit 496872a58e

View file

@ -610,7 +610,7 @@ public class NSClientService extends Service {
public void run() {
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");
return;
}