DinoDevs / GladiatusCrazyAddon

This was "A browser addon for the Gladiatus browser game."

Home Page:https://gladiatus.dinodevs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Market: Cancel all button rework

FrutyX opened this issue · comments

When cancelling too many items (10 - 15+), it creates too many server requests in a short time and this returns an 503 server error.

market

Without scrapping the feature, a possible solution would be to alter the script, to send those requests with a time delay between each request.

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).