ozgur/python-firebase

process pooling does not play well with django runserver

Opened this issue · 2 comments

In development mode, I often have to restart the runserver.

The atexit method, which cleans up the process pool, causes unpredictable behavior on runserver shutdown. I believe that this is because the lazyloader first instantiates the process pool during the atexit callback, during your attempt to terminate that same process pool.

Trying now on Django 1.6 .... I fear the worse! :-)

I get this with async methods: AssertionError: daemonic processes are not allowed to have children on Django production server.