change the refresh timer to 15 sec

master
Christopher 2020-07-01 21:26:14 +02:00
parent 6cc1949921
commit a7421d59d5
1 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ namespace OpenSim.Modules.EMail
if(IMAP_SERVER_HOSTNAME != String.Empty) if(IMAP_SERVER_HOSTNAME != String.Empty)
{ {
m_timer = new Timer(); m_timer = new Timer();
m_timer.Interval = 1000 * 60; m_timer.Interval = 1000 * 15;
m_timer.Elapsed += checkForMails; m_timer.Elapsed += checkForMails;
m_timer.Enabled = true; m_timer.Enabled = true;
m_timer.Start(); m_timer.Start();
@ -149,7 +149,7 @@ namespace OpenSim.Modules.EMail
using (var client = new ImapClient()) using (var client = new ImapClient())
{ {
client.CheckCertificateRevocation = false; client.CheckCertificateRevocation = false;
client.Timeout = 5000; client.Timeout = 10000;
client.ServerCertificateValidationCallback = (s, c, h, e) => true; client.ServerCertificateValidationCallback = (s, c, h, e) => true;
if (IMAP_SERVER_SSL == true) if (IMAP_SERVER_SSL == true)