> Hi!
> I try to run spooler feature on django-uwsgi-nginx setup with virtualenv.
> From uwsgi config:
> <spooler>/home/projects/sites/spooler</spooler>
> From my runsite wsgi script:
>
> import uwsgi
> def calculation(env):
> print "Started spooler!!!!!!!!!!!"
> print env
> time.sleep(10)
> with open("/tmp/test", "w") as g:
> g.write("Test file")
> print "Finished spooler!!!!!!!"
Starting from 0.9.7 branch you have to explicitly inform the spooler that
your job has been successfull returning:
return uwsgi.SPOOL_OK
i have updated the doc. Sorry for the inconvenient
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi