Revert "Throttle send rate"

This reverts commit 285016124e.
This commit is contained in:
M66B 2018-11-21 13:03:55 +01:00
parent 236dbba232
commit 74169a4180
1 changed files with 0 additions and 8 deletions

View File

@ -138,7 +138,6 @@ public class ServiceSynchronize extends LifecycleService {
private static final long RECONNECT_BACKOFF = 60 * 1000L; // milliseconds private static final long RECONNECT_BACKOFF = 60 * 1000L; // milliseconds
private static final int PREVIEW_SIZE = 250; private static final int PREVIEW_SIZE = 250;
private static final int ACCOUNT_ERROR_AFTER = 60; // minutes private static final int ACCOUNT_ERROR_AFTER = 60; // minutes
private static final int SEND_WAIT = 90; // seconds
static final int PI_WHY = 1; static final int PI_WHY = 1;
static final int PI_CLEAR = 2; static final int PI_CLEAR = 2;
@ -1558,13 +1557,6 @@ public class ServiceSynchronize extends LifecycleService {
} }
EntityOperation.process(this); EntityOperation.process(this);
// Throttle send rate
try {
Thread.sleep(SEND_WAIT * 60 * 1000L);
} catch (InterruptedException ignored) {
}
} catch (MessagingException ex) { } catch (MessagingException ex) {
db.identity().setIdentityError(ident.id, Helper.formatThrowable(ex)); db.identity().setIdentityError(ident.id, Helper.formatThrowable(ex));