Project

Profile

Help

Issue #7149

closed

Do not share request session with multiple threads

Added by jluza almost 4 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Nectar:
Platform Release:
Target Release - Nectar:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

When requests.Session is shared with multiple threads Retry instance effectively retires for all threads together which can result in situation where requested url is actually not retried beause retry counter is depleted by another threads To fix that Session object should be create for every single thread

Also available in: Atom PDF