Re: zope.sendmail RFC: start background thread on ProcessStarting event

Fabio Tranchitella <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
* 2010-01-28 15:56, Marius Gedminas wrote:
> I recently came up with a different and perhaps a bit simpler solution:
> 
>   * make zope.sendmail not start the thread during ZCML processing,
>     instead make it listen for ProcessStarting events and start the
>     thread then.

I like your approach, as long as the console script is also provided to
process the queue (as it is now in 3.8.0).

In any way, to keep BBB, we should ensure that users of zope.sendmail will
have the thread running by default, without changing their code.

Thanks.

-- 
Fabio Tranchitella / Tranchitella Kft.         http://tranchitella.eu
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.