Commit c752c84
committed
Handle error if cached file was deleted concurrently
Wrap cache file read in try-except to handle race condition where
another async task deletes the file between validation and lock
acquisition.
Automatically retry with force=True to trigger re-download.
Signed-off-by: Marcel Bochtler <[email protected]>1 parent db4b3c1 commit c752c84
1 file changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1760 | 1760 | | |
1761 | 1761 | | |
1762 | 1762 | | |
1763 | | - | |
1764 | | - | |
1765 | | - | |
| 1763 | + | |
| 1764 | + | |
| 1765 | + | |
| 1766 | + | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
1766 | 1781 | | |
1767 | 1782 | | |
1768 | 1783 | | |
| |||
0 commit comments