Skip to content

Docs: clarify Session safety in multi-process environments#7135

Open
Krishna4907 wants to merge 1 commit intopsf:mainfrom
Krishna4907:docs-session-multiprocess
Open

Docs: clarify Session safety in multi-process environments#7135
Krishna4907 wants to merge 1 commit intopsf:mainfrom
Krishna4907:docs-session-multiprocess

Conversation

@Krishna4907
Copy link

Fixes #4323

This PR adds a warning to the documentation explaining that
requests.Session objects should not be shared across processes,
and recommends creating a separate Session per process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant