-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Market: Cancel all button rework #424
Comments
We may need to do something about this, a notification or retry the requests. |
Apo, since you been around now, what would you do about this? It's one of those issues, that would be nice to deal with, if we ever release another update. I have tried it just today, and once you cancel too many items, it just throws 503 at you, first at the console, but you can even get a 503 blank page. We either need to slow it down, retry or limit the number that can be canceled. But I don't want you to waste too much time on this, it needs a simple change, without reworking the whole code. |
I slightly modified @FrutyX 's code and just added a delay between requests. It seems to work fine (tested with 16 items). |
fixed cancel wrong item id fixed no wait time between requests added more wait time based on server response time to avoid spamming the server on high load/traffic periods
|
When cancelling too many items (10 - 15+), it creates too many server requests in a short time and this returns an 503 server error.
Without scrapping the feature, a possible solution would be to alter the script, to send those requests with a time delay between each request.
The text was updated successfully, but these errors were encountered: