Admin Configuration for Rate Limit

I would like to suggest extraction of hard-coded values on Rate Limit by IP to a configurable preference on Admin Panel.

I’m a teacher and I’m facing issues regarding login, because all my students share the same IP address and in our classes, we all get locked out of discourse due to Rate limiting.

At the moment, I changed the hard-coded values multiplying them 10 times:

https://github.com/everaldo/discourse_rate_limiter_hack/commit/cfc8c6e29c36264ada3568639dceead9b37d437f

@erlend_sh, suggested me to create a feature topic here.

The original commit I’m referring can be found here:

https://github.com/discourse/discourse/commit/d53e01619fb3fd879fe85cd1679f1601e40aa009#commitcomment-20966044

Thanks!

10 Likes

Sure @techapj can you add this to your list?

4 Likes

Sent a PR for it:

https://github.com/discourse/discourse/pull/4715

9 Likes

Thanks, guys!

My students will love to see this conversation.

Today, in the morning, I showed this conversation and explained to them how kind programmers/developers are to help us solving problems.

11 Likes