Hello all,

I was looking into tgext.asyncjob source code and I see it's based on the python threading module (threading.Thread class).

How would this be handled when running a TG2 app setup with WSGI mode ? I know it works with paster but... using wsgi makes tg2 not being a "server process" : it's embedded in the Apache - or any webserver, process, isn't it ?

Damien

On 10/14/2011 03:55 PM, Damien Accorsi wrote:
Look at these :

* http://pypi.python.org/pypi/tgext.asyncjob
* http://turbogears.org/2.1/docs/main/Scheduling.html

It should help you.

Damien

On 10/14/2011 03:14 PM, [email protected] wrote:
background task? would this involve creating a sub-process?

On Oct 14, 3:07 pm, Damien Accorsi <[email protected]> wrote:
On 10/14/2011 03:05 PM,[email protected]:? I have been looking into AJAX and jquery.post and I am not having any success with this?Make a page that run the page build as a background task. When the background task is finished, then you can reload the dynamic page including the "cached information".

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



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