DEV Community

Aldora
Aldora

Posted on

Process still running even connection gets killed

I used requests to do mass database insertions which take longer than the proxy's time limit. As a result, I had to make multiple requests to finish it, and this made mistaken duplicate insertions even after the code check and block the duplicate data, cause they are basically inserted at the same time.
This is because even the request connection got killed, the process it started is still running. And the multiple requests I made just started parallel processes

Top comments (0)