|
From: | Martin Pala |
Subject: | Re: stuff to work on |
Date: | Thu, 05 Feb 2004 23:52:20 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040122 Debian/1.6-1 |
Martin Pala wrote:
Note: It could be possible to use common Mail_T pointers in MailList_T and MailQueue_T lists to save memory (each message needs to be stored only once). However on monit exit or configuration reload the list must be "deeply" copied to save the correct state.
Huh, this was bad idea - monit must expand the "mail-format" option variables (such as $SERVICE, $EVENT and mainly $DATE) in the time of event occurence => the message must be copied from the MailList to the MailQueue in any case.
Sorry, Martin
[Prev in Thread] | Current Thread | [Next in Thread] |