user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* Merge branch 'unsubscribe'
    2016-05-27  8:08  7% ` [PATCH] unsubscribe.milter: use default postfork dispatcher Eric Wong
@ 2016-06-07 13:18  6% ` Eric Wong
  1 sibling, 0 replies; 2+ results
From: Eric Wong @ 2016-06-07 13:18 UTC (permalink / raw)
  To: meta

commit 3f779258173530ca88f31e1dc5332f951d2c44cd
Merge: e2adc94 852df98
Author: Eric Wong <e@80x24.org>
Date:   Tue Jun 7 12:57:42 2016 +0000

    Merge branch 'unsubscribe'
    
    * unsubscribe:
      unsubscribe.milter: use default postfork dispatcher
      unsubscribe: prevent decrypt from showing random crap
      examples/unsubscribe-psgi@.service: disable worker processes
      unsubscribe: bad URL fixup
      unsubscribe: get off mah lawn^H^H^Hist

^ permalink raw reply	[relevance 6%]

* [PATCH] unsubscribe.milter: use default postfork dispatcher
  @ 2016-05-27  8:08  7% ` Eric Wong
  2016-06-07 13:18  6% ` Merge branch 'unsubscribe' Eric Wong
  1 sibling, 0 replies; 2+ results
From: Eric Wong @ 2016-05-27  8:08 UTC (permalink / raw)
  To: meta

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.
---
 examples/unsubscribe.milter | 2 --
 1 file changed, 2 deletions(-)

diff --git a/examples/unsubscribe.milter b/examples/unsubscribe.milter
index e193638..eb1717b 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();

^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-05-20 21:36     [PATCH] unsubscribe: get off mah lawn^H^H^Hist Eric Wong
2016-05-27  8:08  7% ` [PATCH] unsubscribe.milter: use default postfork dispatcher Eric Wong
2016-06-07 13:18  6% ` Merge branch 'unsubscribe' Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).