aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2024-03-29 11:22:33 +0100
committervg <vgm+dev@devys.org>2024-03-29 11:22:33 +0100
commit3ce4857ce0256437c469cad6aec259f11ea09f81 (patch)
tree0a3b8f965118f6d1c417189b334c5e8bcdaa1c2e /imap.c
parent8eae1aca826e08d953a43978bae554f20d07897a (diff)
downloadfetchmail-3ce4857ce0256437c469cad6aec259f11ea09f81.tar.gz
fetchmail-3ce4857ce0256437c469cad6aec259f11ea09f81.tar.bz2
fetchmail-3ce4857ce0256437c469cad6aec259f11ea09f81.zip
change timeout to 600s
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 0580d901..54255c68 100644
--- a/imap.c
+++ b/imap.c
@@ -793,7 +793,7 @@ static int imap_idle(int sock)
/* special timeout to terminate the IDLE and re-issue it
* at least every 28 minutes:
* (the server may have an inactivity timeout) */
- mytimeout = idle_timeout = 1680; /* 28 min */
+ mytimeout = idle_timeout = 600;
time(&idle_start_time);
stage = STAGE_IDLE;
/* enter IDLE mode */