Commit 269ebd6
committed
Don't delete failed upload caused by rate limit
If the upload failed due to rate limit (HTTP 498), there is no need to delete
the failed object, because it will definitely not in Swift. The delete itself
might cause an additional rate limit response.
This fix only applies to non large object uplaods.1 parent e144b1b commit 269ebd6
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
164 | 170 | | |
165 | 171 | | |
166 | 172 | | |
| |||
0 commit comments