Documentation does not mention if connection stack is thread-local
Author: wichertCreated May 4, 2012Updated May 24, 2026
Labelsdocs
In a wsgi environment any global configuration must be thread-local to prevent requests from interacting badly with each other. At a glance rq.local.LocalStack indeed implements a separate thread per stack, but that is not documented anywhere so I'm not sure if I can rely on that feature.
Source: rq/rq