[Answer]-Django signals: synchronization issues?

1👍

Since signal handlers are normally connected when the module they live in is loaded, and not on each request, the effects of connecting and disconnecting them at run time will all users being handled by the same Django process, and not just an individual request.

Django bug 14533 seems to have addressed some thread safety issues, so this might work if you intended it to have side-effects between requests, but otherwise, you should consider using signals in a more conventional way.

Leave a comment