gerwaric / acquisition

Stash and forum shop management for Path of Exile
GNU General Public License v3.0
18 stars 3 forks source link

Rate limit violations in v0.11.0 #41

Closed gerwaric closed 4 months ago

gerwaric commented 5 months ago

After logging in with OAuth and doing a "refresh all", the stash-request-limit policy was violated, e.g.:

INFO 2024-06-23T20:47:33.918 NextSend(): current time is "Sun Jun 23 20:47:33 2024" INFO 2024-06-23T20:47:33.918 Stash does not contain any items WARN 2024-06-23T20:47:34.361 Rate limit policy "stash-request-limit" ( "Account" ) status is RateLimit::PolicyStatus::BORDERLINE INFO 2024-06-23T20:47:34.361 NextSend(): current time is "Sun Jun 23 20:47:34 2024" INFO 2024-06-23T20:47:34.361 NextSend(): updating to "Sun Jun 23 20:47:35 2024" ( 0 ) INFO 2024-06-23T20:47:34.361 Stash does not contain any items WARN 2024-06-23T20:47:36.616 Rate limit policy "stash-request-limit" ( "Account" ) status is RateLimit::PolicyStatus::VIOLATION INFO 2024-06-23T20:47:36.616 NextSend(): current time is "Sun Jun 23 20:47:36 2024"

gerwaric commented 4 months ago

The rate limiter in v0.11.1 alphas has been rewritten to address this.