-
Notifications
You must be signed in to change notification settings - Fork 14
Malware Scan: Auto retry due to rate limiting of malware scanning service #401
Description
Is your feature request related to a problem? Please describe.
The malware scanning service has a rate limit of 30 concurrent requests per subaccount (see docs). When multiple applications are running and users are uploading files, the case could occur that the malware scan fails due to this limit.
Describe the solution you'd like
I propose to add an automatic retry if the request fails with 429 Too Many Requests status code. The SAP Cloud SDK supports retries natively (see docs). I also don't know why you opted to go with http.requests instead of Cloud SDK - this could also be implemented with this one.
I also would propose to make this configurable.
I am also happy to submit a PR for this.
Describe alternatives you've considered
N/A
Additional context
N/A
Have you already checked existing issues before creating a feature request?
Yes
Customer Info
Company: SAP Consulting