Increase timeout

This commit is contained in:
AsamK 2015-11-25 12:58:52 +01:00
parent b5400f77c3
commit 6208eb72d8

View file

@ -145,7 +145,7 @@ public class Main {
boolean returnOnTimeout = true; boolean returnOnTimeout = true;
if (timeout < 0) { if (timeout < 0) {
returnOnTimeout = false; returnOnTimeout = false;
timeout = 5; timeout = 3600;
} }
try { try {
m.receiveMessages(timeout, returnOnTimeout, new ReceiveMessageHandler(m)); m.receiveMessages(timeout, returnOnTimeout, new ReceiveMessageHandler(m));