Bug in mj_queueserv
Brock Rozen <[email protected]> Tue, 8 Aug 2006 08:49:58 +0300 (IDT)
| Newsgroups | gmane.mail.majordomo.majordomo2.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, When you set $::CONCURRENCY down to 0 then you can't enqueue anything and it gets returned with a mailer error. This is because, it appears, that the enqueuer tries to start up the queue server -- which doesn't allow for any runners. The main good reason we like to be able to do this is in order to temporarily reduce system load by "effectively" turning off majordomo, w/o affecting all other mail systems -- and in fact still allowing it to enqueue jobs. Or, at least, that's what we had in mind. I'd still like to see this allowed, but at a minimum, and in order to avoid bad behavior, I would recommend that the program test to see if $::CONCURRENCY is set to <1 and if so, default to 1. Thanks, -- Brock Rozen [email protected]