1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 10:39:27 +02:00
This commit is contained in:
B. Petersen 2018-06-20 22:14:30 +02:00
parent f096e37d61
commit c896bc8bae

View file

@ -970,8 +970,8 @@ void mrimap_idle(mrimap_t* imap)
}
// most servers do not allow more than ~28 minutes; stay clearly below that.
// a good value is 23 minutes. however, as currently, we do smtp and imap in the same thread,
// we want a shorter timeout to allow the failed-smtp-sending to retry.
// a good value is 23 minutes. however, as we do all imap in the same thread,
// we use a shorter delay to let failed jobs run again from time to time.
#define IDLE_DELAY_SECONDS (1*60)
r = mailstream_wait_idle(imap->m_hEtpan->imap_stream, IDLE_DELAY_SECONDS);