# Users are confused about daily like limits

**URL:** https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489
**Category:** Feature
**Created:** [27 באפריל,‏ 2020,‏ 5:04pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489 "2020-04-27T17:04:28Z")
**Posts on this page:** 18
**Page:** 3

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1 במאי,‏ 2020,‏ 7:10pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/42 "2020-05-01T19:10:25Z")

</div>

> [@codinghorror](#):
>
> You’ve reached the maximum number of likes. Please wait 14 hours before trying again.

All I can think of is this change

> You’ve reached the maximum number of daily likes. Please wait 14 hours until the next 24 hour period begins before trying again.

🤷‍♂️

---

<div class="post-metadata">

### Author: ![rkda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rkda/32/120046_2.png) [@rkda](https://meta.discourse.org/u/rkda)
#### Post date: [2 במאי,‏ 2020,‏ 5:37am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/43 "2020-05-02T05:37:03Z")

</div>

> You’ve reached the maximum number of likes. Please wait 14 hours before trying again

This is fine if you’ve run out of likes. However, you also get that same message if you triggered the rate limiter. Maybe a different message for the latter? Something like:

> You’re liking topics too quickly. Please wait 10 minutes before trying again.

Just to let users know to back off and slow down.

At least that’s where the confusion came from in my case. I received the maximum likes message but I’m able to like things again within the same day which made it hard to build a mental model of how things work. Had I not come here, I wouldn’t even know that the rate limiter for likes existed.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2 במאי,‏ 2020,‏ 9:33am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/44 "2020-05-02T09:33:47Z")

</div>

Aha! Oh my gosh I apologize if that is happening now it all makes sense! @tshenry can you repro?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [4 במאי,‏ 2020,‏ 2:19am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/45 "2020-05-04T02:19:32Z")

</div>

On dev I am unable to repro, this is me liking stuff like crazy and hitting the global rate limiter.

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/e/8eda92c22a502f511a194597a25fcb95787fbd85.png)

@rkda what is the repro here? Sounds to me like simply UTC confusion cause you will be able to like stuff even if you hit the limit within the same day unless you live in UTC-0.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4 במאי,‏ 2020,‏ 3:04am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/46 "2020-05-04T03:04:51Z")

</div>

If people are expecting the UTC “day” will line up with their local time “day”..

 ![tenor](https://global.discourse-cdn.com/meta/original/3X/f/b/fb5a3df980d40886d6c321e514ee9cb420b34e5a.gif)

---

<div class="post-metadata">

### Author: ![rkda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rkda/32/120046_2.png) [@rkda](https://meta.discourse.org/u/rkda)
#### Post date: [4 במאי,‏ 2020,‏ 3:55am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/47 "2020-05-04T03:55:12Z")

</div>

On April 20 (on another forum), I hit the daily likes limit at UTC 06:40.

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/c/6cd11ff19b2e7052937ae26431ae16c2a8d0e8db.png)

However, I was able to like stuff again three hours (UTC 9:40) later. Is it possible for it to reset earlier?

I hit the likes limit later in the day (UTC 14:50) and was told my likes will reset in 14 hours

 ![image](https://global.discourse-cdn.com/meta/original/3X/9/9/99b41248c37d12c3e6e1361b9e2ea32f6b390941.png)

which doesn’t make sense unless the reset time has changed. It was in the same UTC “day”. Granted this is all anecdata (not an admin at that forum so I can’t check the logs).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4 במאי,‏ 2020,‏ 4:05am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/48 "2020-05-04T04:05:36Z")

</div>

Is the server time broken? Where is that server hosted? Possible the server is misconfigured and isn’t running UTC time, perhaps?

---

<div class="post-metadata">

### Author: ![papyrophilia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/papyrophilia/32/161518_2.png) [@papyrophilia](https://meta.discourse.org/u/papyrophilia)
#### Post date: [4 במאי,‏ 2020,‏ 12:22pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/49 "2020-05-04T12:22:38Z")

</div>

🤞 Hopefully, this still fits in somewhere, but to build on @rkda’s anecdata and clarify @Heather_Dudley’s user experience frustration:

- Sometimes, you get the “wait however long” message, wait the time, and are allowed _a few likes_ before getting the message _again_ with a different wait time.
- Other times, you get the _same_ “wait however long” message, wait the time, and then seem to be completely refilled for daily likes.

**This is confusing.** It’s like there’s two different “like jails” (stealing, btw)–one where you’re just on a temporary hold to sober up, and one where you’re actually incarcerated and get small rewards for good behavior…but you don’t know which you are. 🤷‍♀️

---

<div class="post-metadata">

### Author: ![rkda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rkda/32/120046_2.png) [@rkda](https://meta.discourse.org/u/rkda)
#### Post date: [4 במאי,‏ 2020,‏ 1:37pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/50 "2020-05-04T13:37:58Z")

</div>

Will have the ask the admin. Will post as soon as I get an answer.

> [@papyrophilia](#):
>
> Sometimes, you get the “wait however long” message, wait the time, and are allowed _a few likes_ before getting the message _again_ with a different wait time.

Oh, encountered this so often too 😆 That’s how I ended up settling with the mental model below 👇

> [@riking](#):
>
> An accurate mental model is to think of a mobile clicker game, you spend one dot every time you like a post and each dot has its own 24-hour timer before it refreshes

It’s the only one that sort of made sense based on my experience.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4 במאי,‏ 2020,‏ 5:15pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/51 "2020-05-04T17:15:56Z")

</div>

This is sounding more and more like a rogue server, if it is a server we host, we should be able to diagnose it..

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [4 במאי,‏ 2020,‏ 5:56pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/52 "2020-05-04T17:56:00Z")

</div>

One thing I’m seeing that might be helpful to improve is the illusion that you are a able to like beyond the limit. This might help with _some_ of the confusion? You’ll see in the video below that it gives the appearance that you are liking posts, but when you refresh the page, they all go away (tested on Try).

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [4 במאי,‏ 2020,‏ 6:09pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/53 "2020-05-04T18:09:14Z")

</div>

Looking at the `RateLimiter` code, UTC date factors into it nowhere, and it follows the “exact rolling timestamps” model. `secs` is equal to 1 day in seconds.

> <https://github.com/discourse/discourse/blob/main/lib/rate_limiter.rb#L69-L71>

The code that notifies you about reaching your max # of likes in a day, however, _does_ appear to use UTC date.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4 במאי,‏ 2020,‏ 6:22pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/54 "2020-05-04T18:22:46Z")

</div>

Interesting! So this may be a bug on our end.

Thanks for helping us drill into this, everyone. I want good outcomes here.

---

<div class="post-metadata">

### Author: ![papyrophilia](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/papyrophilia/32/161518_2.png) [@papyrophilia](https://meta.discourse.org/u/papyrophilia)
#### Post date: [4 במאי,‏ 2020,‏ 6:41pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/55 "2020-05-04T18:41:59Z")

</div>

> [@codinghorror](#):
>
> **So this may be a bug on our end.**

To further clarify, I’m _not_ part of @Heather_Dudley’s /NaNoWriMo’s forum…I just recognized the issue from my communities, as did @anBroc:

> [@anBroc](#):
>
> I have seen a similar behaviour pattern on other Discourse sites…

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [6 באוגוסט,‏ 2020,‏ 7:43pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/56 "2020-08-06T19:43:21Z")

</div>

> [@riking](#):
>
> The code that notifies you about reaching your max # of likes in a day, however, _does_ appear to use UTC date.

Did we resolve this @riking?

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [6 באוגוסט,‏ 2021,‏ 12:31am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/57 "2021-08-06T00:31:07Z")

</div>

Sorry for the bump, it seems like this bug is still persisting. (Our forum is hosted by Discourse)  
One of our users reported this issue today:

> So, I’ve been noticing that when we run out of likes, it says something like: You have run out of likes, you can like again in 17 hours.  
> So we wait awhile. Eventually we reach 17 hours and we like someone. After a like or two, it says: You have ran out of likes, you can like again in 20 hours.  
> We’ve waited 17 hours, got to like twice, and now we have to wait another 20 hours. This is very frustrating.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [13 באוגוסט,‏ 2021,‏ 5:49pm UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/58 "2021-08-13T17:49:09Z")

</div>

This is probably worth assigning @eviltrout it looks like Kane found the reason for the bug so all that is left is normalizing the code.

---

<div class="post-metadata">

### Author: ![51mon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/51mon/32/299702_2.png) [@51mon](https://meta.discourse.org/u/51mon)
#### Post date: [3 באוגוסט,‏ 2023,‏ 8:20am UTC](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489/64 "2023-08-03T08:20:16Z")

</div>

Deffo not the behaviour in experiencing.  
Ran out yesterday One side of UTC0: 00 managed to like one post this morning 9 hours after UTC 0: 00 before getting the out of likes message again

[Previous page](https://meta.discourse.org/t/users-are-confused-about-daily-like-limits/149489.md?page=2)
