Skip to content

Commit 69a0d0a

Browse files
committed
Feat: removes "400 Bad Request" from retryable errors
1 parent 4b305f7 commit 69a0d0a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

s3fs/core.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ async def _error_wrapper(func, *, args=(), kwargs=None, retries):
122122
await asyncio.sleep(min(1.7**i * 0.1, 15))
123123
elif "XAmzContentSHA256Mismatch" in str(e):
124124
await asyncio.sleep(min(1.7**i * 0.1, 15))
125-
elif "Bad Request" in str(e):
126-
await asyncio.sleep(min(1.7**i * 0.1, 15))
127125
else:
128126
break
129127
except Exception as e:

0 commit comments

Comments
 (0)