Commit 44d6ecc
fix(transport): only delete db attachment after successful TUS upload
Previously the db copy was deleted unconditionally after the TUS upload
attempt, making retries impossible on network or server errors.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 9300c82 commit 44d6ecc
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
| 331 | + | |
335 | 332 | | |
336 | 333 | | |
337 | 334 | | |
| |||
340 | 337 | | |
341 | 338 | | |
342 | 339 | | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 340 | | |
348 | 341 | | |
349 | 342 | | |
350 | 343 | | |
351 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
352 | 348 | | |
353 | 349 | | |
| 350 | + | |
354 | 351 | | |
355 | 352 | | |
356 | 353 | | |
| |||
0 commit comments