rafaelgomesxyz / esgst

An extension that enhances SteamGifts / SteamTrades.
MIT License
147 stars 23 forks source link

Rate limiting issue #1740

Open montoner0 opened 3 years ago

montoner0 commented 3 years ago

Description Either I don't understand how the rate limiting works or it doesn't work correctly in my case. According to the defaults of option "Use custom adaptive request limits for SteamGifts" the maximum delay between requests is two seconds but in my case the delay is about 5-8 seconds.

Steps to Reproduce

  1. Open a developer console
  2. Go to https://www.steamgifts.com/ with a grid mode, endless scroll and filters enabled (lots of unneeded giveaways aren't shown, all pages are loaded)
  3. Watch in the console the delay between requests for a next page

Expected Behavior Delays should conform to the option and/or maximum rates.

Console Errors

Checking backup... esgst.js:1:93069
1636024804925 NaN esgst.js:1:93155
USP is not accessible cmp_v2.js:1:1503
USP is not accessible cmp_v2.js:1:1503
MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead. esgst.js:42:90068

Screenshots sg_ratelimit image

System (please complete the following information):