[Twisted-Python] twisted.web and MySQLdb

Itamar Shtull-Trauring itamar at itamarst.org
Tue Oct 28 16:29:58 MST 2003


On Tue, 28 Oct 2003 15:10:19 -0800 (PST)
Nathan Seven <scosol at yahoo.com> wrote:

> Hmmm- would a simple solution be to simply
> re-initialize the connection(s) upon any restart?
> (can a restart even be detected with .app?)

Services get startService and stopService called on startup/shutdown of
the application. See
http://twistedmatrix.com/documents/howto/application and
twisted.application.service.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
Available for Python & Twisted consulting




More information about the Twisted-Python mailing list