Commit 9cb4f19
committed
feat: align download locking with npm's npx strategy
- Reduce default staleTimeout from 300s to 10s
- Use downloadWithLock in dlxBinary for concurrent protection
- Prevents corruption from simultaneous binary downloads
- Export downloadWithLock via ./download-lock subpath1 parent 9182256 commit 9cb4f19
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments