summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-11-11 13:27:02 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-11-11 13:27:02 (GMT)
commit5b62b9e7555fd1f55325dd40b6af33f7d247156a (patch)
tree5351fb364f09393562898af8e2e7213da0819dab
parenta1f0a6bdaa205be5c586ac3f7120b6373d2f2bc5 (diff)
downloadkolab-utils-5b62b9e7555fd1f55325dd40b6af33f7d247156a.tar.gz
Waiting forever doesn't make the problems go away an 300s should be plenty.
-rw-r--r--lib/sessionfactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sessionfactory.h b/lib/sessionfactory.h
index 4075e8d..9e9bd5e 100644
--- a/lib/sessionfactory.h
+++ b/lib/sessionfactory.h
@@ -25,7 +25,7 @@ static KIMAP::Session *createSession(const QString &host, qint16 port, QObject *
{
KIMAP::Session *session = new KIMAP::Session(host, port, parent);
session->setUiProxy(KIMAP::SessionUiProxy::Ptr(new UiProxy()));
- session->setTimeout(-1);
+ session->setTimeout(300);
return session;
}