Re: zope.sendmail RFC: start background thread on ProcessStarting event
Marius Gedminas <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <20100129095828.GA4585@platonas> |
On Fri, Jan 29, 2010 at 08:00:12AM +0100, Fabio Tranchitella wrote: > * 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). Oh, absolutely, the standalone script is a wonderful idea. > 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. Yesterday I tried to upgrade to zope.sendmail 3.7.1 in an app that's currently based on Zope 3.4 KGS. I had to give up after two hours of fighting explicit and implicit compatibility problems and upgrading most of the version pins. The zope.component >= 3.8.0 requirement is deadly. My motivation to have an alternative fix that could be backported to something compatible with Zope 3.4 KGS is now much higher. Marius Gedminas -- http://pov.lt/ -- Zope 3 consulting and development _______________________________________________ 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 )
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFLYrFAkVdEXeem148RAvjHAJ0aNdvfIWAcZo/Ww5QoRdQ32X8zQQCfaAHn yDaiDos854CFxNj2BIw/KLo= =ZG5p -----END PGP SIGNATURE-----