change time

master
Christopher 2020-07-01 22:22:06 +02:00
parent c7845b27f9
commit c3fa489b9e
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ namespace OpenSim.Modules.EMail
m_scene = scene; m_scene = scene;
m_timer_send = new Timer(); m_timer_send = new Timer();
m_timer_send.Interval = 1000 * 15; m_timer_send.Interval = 1000 * 2;
m_timer_send.Elapsed += sendAllMails; m_timer_send.Elapsed += sendAllMails;
m_timer_send.Enabled = true; m_timer_send.Enabled = true;
m_timer_send.Start(); m_timer_send.Start();
@ -256,7 +256,7 @@ namespace OpenSim.Modules.EMail
if (m_sendMessages.Count == 0) if (m_sendMessages.Count == 0)
return; return;
if ((m_sending + 10) > _currentUnixTime) if ((m_sending + 2) > _currentUnixTime)
return; return;
List<MimeMessage> _messageToSend = new List<MimeMessage>(); List<MimeMessage> _messageToSend = new List<MimeMessage>();