diff options
author | Eric Wong <e@80x24.org> | 2016-05-27 08:03:31 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-05-27 08:07:20 +0000 |
commit | 852df982d88dcfaa49a1398cd6ef30973bcaaa09 (patch) | |
tree | d8b015b05251394d977026b7514962cfc4d2c4fe | |
parent | 751d334bd1d17031aa642e6c5cd53ff70eb28866 (diff) | |
download | public-inbox-852df982d88dcfaa49a1398cd6ef30973bcaaa09.tar.gz |
Let postfix (or sendmail :P) control the concurrency limit instead of doing it ourselves. This is necessary because SMTP connections are completely synchronous at this point and a slow/idle SMTP connection will monopolize the worker process.
-rw-r--r-- | examples/unsubscribe.milter | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/unsubscribe.milter b/examples/unsubscribe.milter index e1936386..eb1717ba 100644 --- a/examples/unsubscribe.milter +++ b/examples/unsubscribe.milter @@ -134,6 +134,4 @@ if ($fds && (($ENV{LISTEN_PID} || 0) == $$)) { } $milter->register('unsubscribe', \%cbs, SMFI_CURR_ACTS); -my $dispatcher = Sendmail::PMilter::prefork_dispatcher(max_children => 2); -$milter->set_dispatcher($dispatcher); $milter->main(); |