From a7421d59d5803974ac8c07900dfd161dfc229bd3 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 1 Jul 2020 21:26:14 +0200 Subject: [PATCH] change the refresh timer to 15 sec --- src/MailKitMailModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MailKitMailModule.cs b/src/MailKitMailModule.cs index c17861d..f5eab89 100644 --- a/src/MailKitMailModule.cs +++ b/src/MailKitMailModule.cs @@ -78,7 +78,7 @@ namespace OpenSim.Modules.EMail if(IMAP_SERVER_HOSTNAME != String.Empty) { m_timer = new Timer(); - m_timer.Interval = 1000 * 60; + m_timer.Interval = 1000 * 15; m_timer.Elapsed += checkForMails; m_timer.Enabled = true; m_timer.Start(); @@ -149,7 +149,7 @@ namespace OpenSim.Modules.EMail using (var client = new ImapClient()) { client.CheckCertificateRevocation = false; - client.Timeout = 5000; + client.Timeout = 10000; client.ServerCertificateValidationCallback = (s, c, h, e) => true; if (IMAP_SERVER_SSL == true)