Commit 1403b7c
authored
Bug fix for parallel execution environments
Have been hitting a rare bug here when deploying FastAPI applications with many worker processes in a Kubernetes environment. A bit of a race condition exists here where multiple workers attempt to create the directory but fail because another worker already created it, resulting in a crash loop.1 parent 66fafee commit 1403b7c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments