Skip to content

How to handle multiple commits with multithreading #1182

Answered by Byron
Be5yond asked this question in Q&A
Discussion options

You must be logged in to vote

GitPython is not thread safe, and each thread must own its own instance of a Repo while only performing read operations on them.

Even though I am closing this issue, please feel free to keep posting in the comments when needed.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Byron
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1128 on February 26, 2021 11:18.