Time::HiRes for MessageBatch timing

Julian Field MailScanner at ecs.soton.ac.uk
Thu Nov 24 10:03:00 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----

This just didn't happen as I haven't had the time to add a whole new  
Perl module to the MailScanner distribution.

On 4 Nov 2005, at 16:27, Jeff A. Earickson wrote:

> Julian,
>
> Per my recent request for batch timing in the logs, please
> look at my suggested changes for MessageBatch.pm (attached,
> against 4.47.4).  My changes have NOT been tested at all, so I  
> don't know if this will work.  The changes:
>
> * added Time::HiRes for timing the start and end timing on
>   a batch of messages.
>
> * changed output of information in EndBatch from integer
>   to float
>
> * Added a "Batch Completed in x.x seconds" syslog, even if
>   "Log Speed" is not turned on in the config file.
>
> Please see if my idea makes sense.  Since HighRes is required
> for SpamAssassin, why not use it here too to give better info?
>
> Jeff Earickson
> Colby College
>
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
> Support MailScanner development - buy the book off the website!
> <MessageBatch.pm.diffs>

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2425)

iQEVAwUBQ4WP1vw32o+k+q+hAQGfPAf/YXVMkqDLXKjAdmEnQCY+fUqa7v36QjcB
V19WRHoDfoKHOOHImTvyNlbUlVUjRwg9Xuw4RsLJe7X6HWrLqsHnqE0Y9drPRejY
Lyd6Tr+bT59PGckGZNeQrDewCNsktF7cjTTrf+kSyDtTkdk4H49iS9P7yvimwOSC
qr0eAV0N9OPeG3Tlpsi+BzgQMKifWeKOuLRoREiMdAULH9B9Ktk1UtIP245JRNk5
Q74ulzRy+Wgijx4AlfMgHVUxfuwVaE24nvYS7eTHxq8n2Ky2hW1LSIKXnUEq8UYa
AQ6lFlp0mWQCfFBVyTCvl6LYf+bQFMzkNGBHk1mrEdOqa5owLkvhpg==
=7kBI
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list