Market: Cancel all button rework
FrutyX opened this issue · 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).