Use filelock to make sure we don't try to write state info from multiple download threads simultaneously

This commit is contained in:
2022-03-19 14:12:42 +01:00
parent 3f6bc46d52
commit 9a5ce9469d
2 changed files with 4 additions and 1 deletions
+2 -1
View File
@@ -2,4 +2,5 @@ rich
requests
inflect
pydantic
humanize
humanize
filelock
+2
View File
@@ -10,6 +10,8 @@ charset-normalizer==2.0.12
# via requests
commonmark==0.9.1
# via rich
filelock==3.6.0
# via -r requirements.in
humanize==4.0.0
# via -r requirements.in
idna==3.3