Skip to content

Commit d8f4bb7

Browse files
committed
melib/imap: make keepalive at least 30 minutes
Signed-off-by: Manos Pitsidianakis <[email protected]>
1 parent 648cf6a commit d8f4bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

melib/src/imap/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ impl ImapStream {
528528
};
529529
if let Err(err) = stream
530530
.get_ref()
531-
.set_keepalive(Some(Duration::new(60 * 9, 0)))
531+
.set_keepalive(Some(Duration::new(60 * 35, 0)))
532532
{
533533
log::warn!("Could not set TCP keepalive in IMAP connection: {}", err);
534534
}

0 commit comments

Comments
 (0)