OSMCha / osmcha-frontend

Frontend for the osmcha-django REST API
https://osmcha.org
ISC License
121 stars 37 forks source link

Make request throttling less aggressive #729

Open pwithnall opened 4 months ago

pwithnall commented 4 months ago

I'm submitting a bug report

Brief Description

Whenever I’m using osmcha.org, after reviewing a handful of changesets, I get a “Request was throttled. Expected available in 16 seconds.” message when trying to review additional ones. The required delay varies from a few seconds up to about a minute. It counts down.

This makes reviewing larger numbers of changes really frustrating, because I have to sit and wait up to around 30 seconds to submit my review for each changeset.

What is the motivation / use case for this feature?

Being able to review changesets quickly. Particularly useful when someone has done a load of StreetComplete quests.

What is the current behaviour, (attach relevant screenshots) ?

As described above, “Request was throttled. Expected available in 16 seconds.” message displayed as a notification in the top-right of the page.

What is the expected behaviour ?

Don’t throttle requests so aggressively, or don’t throttle requests at all for logged in users.

When does this occur ?

All the time.

How do we replicate the issue ?

  1. Open osmcha.org, sign in and run a query
  2. Review several changesets relatively quickly (say, 5 seconds per changeset)
  3. Receive a “request was throttled” message

Please tell us about your environment:

Firefox on Linux

Other Information / context:

None, happy to provide more details if you need them

Kovoschiz commented 4 months ago

Same demand #723