Re: Django-utils @async decorator and gunicorn

2011-06-28 Thread Anton Pirker
Hi! On 06/28/2011 02:45 PM, Javier Guerra Giraldez wrote: another thing I don't know about is gunicorn; but the 'g' in the name comes from 'green threads'. do you (or anybody else) know if that means that it patches the python thread implementation? if so, that could be interfering with the

Re: Django-utils @async decorator and gunicorn

2011-06-28 Thread Javier Guerra Giraldez
On Tue, Jun 28, 2011 at 2:53 AM, Anton Pirker wrote: > Ah! There is a queue consumer daemon! ;)  Thank's for this hint! just checked and the @async decorator doesn't use the queue/consumer facility also included. sorry for the wrong hint. what @async does is adding to a

Re: Django-utils @async decorator and gunicorn

2011-06-28 Thread Anton Pirker
Hi! On 06/27/2011 03:47 PM, Javier Guerra Giraldez wrote: On Mon, Jun 27, 2011 at 4:50 AM, Anton Pirker wrote: But when i run my django app under gunicorn and i call the function with the @async decorator nothing happens at all... are you running the queue consumer daemon?

Django-utils @async decorator and gunicorn

2011-06-27 Thread Anton Pirker
Hello! I use djutils [1] @async decorator for calling a function asynchronous. This works well when i start my server with the standard ./manage.py runserver command. But when i run my django app under gunicorn and i call the function with the @async decorator nothing happens at all... Do i

Re: Django-utils @async decorator and gunicorn

2011-06-27 Thread Javier Guerra Giraldez
On Mon, Jun 27, 2011 at 4:50 AM, Anton Pirker wrote: > But when i run my django app under gunicorn and i call the function with the > @async decorator nothing happens at all... are you running the queue consumer daemon? -- Javier -- You received this message because you are

Django-utils @async decorator and gunicorn

2011-06-27 Thread Anton Pirker
Hello! I use djutils [1] @async decorator for calling a function asynchronous. This works well when i start my server with the standard ./manage.py runserver command. But when i run my django app under gunicorn and i call the function with the @async decorator nothing happens at all... Do i