On Tuesday 04 August 2009 08:18:52 gizli wrote: > Hi all, > > My TG2 app has to run a bunch of worker threads in the background to > do very specific tasks. I want to write a function to start these > threads every time paster starts serving my application. Essentially, > I need an initialization hook for my app. > > I did see the make_app() function inside middleware.py.. It seems like > the right place to put this initialization code. > > Any ideas?
if it works for you, that's a perfect place to put such things. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

