Topic with a large number of polls gives 429 error

We use polls as a simple moderator voting mechanism for selecting featured artwork. (We used likes for this in the past, but realized we needed ‘downvotes’ for this too). This voting happens in one large topic, which has about 550 posts. I estimate that about 100 of these posts have a poll in them (we sometimes post comments too).

Recently things broke down and we’re getting a 429 error when visiting the topic. I believe this is a rate limiting issue, which to me suggests that perhaps Discourse it trying to load ALL the polls in this topic, even when only a few are actually loaded.

This is in a private forum, if anyone from the Discourse team needs temporary access to investigate I’ll be happy to set that up.

Sure I can have a look. Invite me with regis.hanol@discourse.org

2 Likes

Invite sent. I’ll send you more information through a PM

3 Likes

We’re having the same issue on a topic with 25 polls in it.

3 Likes

This should fix it :strawberry:

https://github.com/discourse/discourse/commit/0a708ba0646524f760e8f950e34ac33b4ad1ef5b

12 Likes

Confirmed this fixed for us. Thanks! :tada:

5 Likes

This topic was automatically closed after 3 days. New replies are no longer allowed.