Fix wrong delay, increase timeout

This commit is contained in:
chimp1984 2021-01-12 01:27:52 -05:00
parent a9802e60cd
commit d39a697611
No known key found for this signature in database
GPG Key ID: 9801B4EC591F90E3
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
public class GetInventoryRequester implements MessageListener, ConnectionListener {
private final static int TIMEOUT_SEC = 90;
private final static int TIMEOUT_SEC = 180;
private final NetworkNode networkNode;
private final NodeAddress nodeAddress;

View File

@ -104,7 +104,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
@Slf4j
public class MailboxMessageService implements SetupListener, RequestDataManager.Listener, HashMapChangedListener,
PersistedDataHost {
private static final long REPUBLISH_DELAY_SEC = TimeUnit.SECONDS.toSeconds(2);
private static final long REPUBLISH_DELAY_SEC = TimeUnit.MINUTES.toSeconds(2);
private final EncryptionService encryptionService;
private final IgnoredMailboxService ignoredMailboxService;