Improving speed in picking up messages from incoming queue

Thierry Carrez tcarrez at SCORT.COM
Thu Jul 25 15:55:42 IST 2002


Julian Field wrote:

> That's fine. On a quiet machine you could quite safely reduce it by a
> factor of 10. After all, 30 is a number I pulled out of thin air anyway :-)

Could you please include this as a configurable parameter in a next
release (no hurry at all) ?

My little help, diffs from 3.22-7, from my understanding, should not
break anything...

[packager at boomer bin]$ diff mailscanner.orig mailscanner
265c265
<   sleep(30), next unless @MessagesIn;
---
 >   sleep($Config::PickUpTimer), next unless @MessagesIn;


[packager at boomer bin]$ diff config.orig config.pl
158a159
 > $Config::PickUpTimer           = 30;
289c290
<
---
 >     $Config::PickUpTimer       = $value if $key =~ /^pickuptimer$/i;


Thanks in advance... it will help my future upgrades.

--
Thierry Carrez



More information about the MailScanner mailing list