Closed keeth closed 2 years ago
Per psf/requests/issues/2766 requests.Session is likely not threadsafe.
This change puts the session in a thread local so that each thread has a different copy.
Per psf/requests/issues/2766 requests.Session is likely not threadsafe.
This change puts the session in a thread local so that each thread has a different copy.