# Rate-Limit Bericht wordt weergegeven als 'Geen reacties meer'

**URL:** https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109
**Category:** UX
**Tags:** reactions
**Created:** [27 juli 2022 om 03:43 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109 "2022-07-27T03:43:56Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![albert\_vu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albert_vu/32/278482_2.png) [@albert\_vu](https://meta.discourse.org/u/albert_vu)
#### Post date: [27 juli 2022 om 03:43 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/1 "2022-07-27T03:43:56Z")

</div>

Hi there, we recently implemented the Reaction plugin on our instance and one of our members is reporting that he hit the [‘maximum daily reactions’ ceiling](https://forum.katalon.com/t/site-feedback-roundup-july-15/66967/4?u=vu.le). He mentioned that he was hit with the modal after changing the reactions/adding a reaction for about 10 times.

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/d/3/9d30fb46272bb5169abba240ca5f816d2591a467.jpeg)

So my questions are:

- Can we remove the ‘daily reactions limit’ altogether? Or,
- Adjust the limit for each TL? (Haven’t seen this setting anywhere on `site settings`)

Thanks 👍

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [27 juli 2022 om 05:56 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/2 "2022-07-27T05:56:07Z")

</div>

That one looks like it’s actually the ‘You gave too many likes/reactions too quickly’ warning rather than the ‘you’re out of Likes’ warning due to the small amount of time you’d have to wait to have them back again. It may be a case of needing to update the message text.

I don’t think Reactions are limited to x amount per day the same as Likes are? (`max likes per day`)

---

<div class="post-metadata">

### Author: ![albert\_vu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albert_vu/32/278482_2.png) [@albert\_vu](https://meta.discourse.org/u/albert_vu)
#### Post date: [27 juli 2022 om 06:24 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/3 "2022-07-27T06:24:00Z")

</div>

Hmm interesting, would you happen to know the interval/duration between each reaction that a user have to wait before making/changing their reactions?

Also does this interval/duration increase/decrease as they go up or down the trust levels? 🤔

* * *

Also I found the query needed to edit said modal: `js.discourse_reactions.reaction.too_many_request`

I’ll increase the `max likes per day` to 100 just to be sure 👍

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [27 juli 2022 om 06:37 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/4 "2022-07-27T06:37:07Z")

</div>

I think it’s very short, so you’d have to hit a few in a matter of seconds to trigger a cooldown period. If you read a post and react/like in the usual manner you shouldn’t see it at all. I don’t think Trust Level has any effect. If the user repeatedly tapped the reaction to give/remove/change one then that’s likely what they hit (and why). I think it’s mainly an anti-spam feature to stop people adding loads without reading anything.

> [@albert\_vu](#):
>
> Also I found the query needed to edit said modal: `js.discourse_reactions.reaction.too_many_request`
> 
> I’ll increase the `max likes per day` to 100 just to be sure 👍

I think we may need to change that message for everyone, so if that happens I’ll give you a shout so you can reset to default. 👍

I would avoid changing the base like amount if you can as that affects the associated badges. But tweaking the like multipliers works quite well to give more likes without pumping up how many you need to give in a day to get the Out Of Love, etc ones.

---

<div class="post-metadata">

### Author: ![albert\_vu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albert_vu/32/278482_2.png) [@albert\_vu](https://meta.discourse.org/u/albert_vu)
#### Post date: [27 juli 2022 om 06:52 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/5 "2022-07-27T06:52:11Z")

</div>

> [@Discourse Reactions](https://meta.discourse.org/t/discourse-reactions/183261/256):
>
> But tweaking the like multipliers works quite well to give more likes without pumping up how many you need to give in a day to get the Out Of Love, etc ones.

Huh, I didn’t know we could do that. Which section should I go to under `site settings` to tweak the like multipliers? Thanks

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [27 juli 2022 om 06:54 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/6 "2022-07-27T06:54:40Z")

</div>

If you use the admin setting search and pop in `additional likes per day multiplier` it should bring up all of them. 👍 They’re in the rate limit section, and there are a few others for edits and flags too.

---

<div class="post-metadata">

### Author: ![albert\_vu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/albert_vu/32/278482_2.png) [@albert\_vu](https://meta.discourse.org/u/albert_vu)
#### Post date: [27 juli 2022 om 07:23 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/8 "2022-07-27T07:23:22Z")

</div>

Thinking of changing the modal text to below:

`Whoa, hold your horses! You’re seeing this pop-up because we noticed that you’ve been reacting to post(s) rather quickly. How about taking a small break and come back after %{time_left}?`

Though I think I’ll need to wait for other Discourse members to chime in before deciding whether this is a concrete solution or not 👍

@Vu_Tran_Nguyen FYI

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [27 juli 2022 om 07:33 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/9 "2022-07-27T07:33:58Z")

</div>

I’m just double-checking to see if Reactions are now linked to the ‘max like’ setting. The manner in which it was triggered and the very short cooldown period in your screenshot makes me think there’s been a mix-up, but I’d rather be certain. 🙂

---

<div class="post-metadata">

### Author: ![Vu\_Tran\_Nguyen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vu_tran_nguyen/32/262890_2.png) [@Vu\_Tran\_Nguyen](https://meta.discourse.org/u/Vu_Tran_Nguyen)
#### Post date: [27 juli 2022 om 07:54 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/10 "2022-07-27T07:54:12Z")

</div>

Hi Albert,

Please keep the default setting of the reaction limit. I would think to change to something more positive like:

Thank you for your enthusiam. We bet that the original posters love all your likes and reactions. Please come back after %{time\_left} to continue your encouragement towards community users. Kudos to all the positivity!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [27 juli 2022 om 07:57 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/11 "2022-07-27T07:57:23Z")

</div>

FWIW The original should be “You have been reacting a bit too fast, try again in %{time\_left}”

---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [27 juli 2022 om 16:37 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/12 "2022-07-27T16:37:45Z")

</div>

This seems to be in Discourse too, when rate limited it tells me “You’re out of likes - try again in 50 seconds!”

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [27 juli 2022 om 22:44 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/13 "2022-07-27T22:44:48Z")

</div>

> [@albert\_vu](#):
>
> He mentioned that he was hit with the modal after changing the reactions/adding a reaction for about 10 times.

I think the issue here is that the same text string (`js.discourse_reactions.reaction.too_many_request`) is used both when a user triggers the rate limit by repeatedly adding and removing a reaction _and_ when a user has selected the reaction that is used for ‘likes’ on the site and then reached the daily like limit. That limit is set by the `max likes per day` site setting.

I was able to trigger the issue that your user ran into by performing a similar action to what they did. It took a bit of effort to trigger the issue. I don’t think many users are going to run into it. That said, the error message that is displayed for this case is not accurate. The user has not exceeded their daily reactions (‘likes’) limit. All they have done is hit a Discourse rate limit that’s triggered when a user performs the same action too many times in succession. I think we need a separate error message to handle this case.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [27 oktober 2022 om 09:32 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/14 "2022-10-27T09:32:31Z")

</div>

I think this should be fixed now in:

[https://github.com/discourse/discourse-reactions/commit/d87a5428a2208d8dc64a4eb56969a7c44ca2c5d6](https://github.com/discourse/discourse-reactions/commit/d87a5428a2208d8dc64a4eb56969a7c44ca2c5d6)

You should see that on your site the next time it’s updated. 👍

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [3 november 2022 om 09:39 UTC](https://meta.discourse.org/t/rate-limit-message-displaying-as-out-of-reactions/234109/15 "2022-11-03T09:39:37Z")

</div>

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