On Tue, Aug 4, 2009 at 2:18 AM, gizli<[email protected]> 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?

There is one but it's not document yet

http://trac.turbogears.org/ticket/2117

doc patches welcome :)

>
> Thanks.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to