Skip to content Skip to sidebar Skip to footer

Uwsgi Call Randomly Injected Into Python Call Stack?

I'm trying to get to the bottom of a weird bug (see here) - basically I'm seeing unexpected DB disconnects. To investigate I added a call stack dump to the disconnect code in Djang

Solution 1:

Thinking some more, I think this injection into the call stack is correct. How else could it work? The GIL could be obtained at any time, and Python isn’t going to start a new interpreter per call, so it’s got to just run in the current context.


Post a Comment for "Uwsgi Call Randomly Injected Into Python Call Stack?"