Wrong hours number in the message saying "You've reached your likes today"

AI-generated summary

Users across multiple Discourse communities, including Discourse Meta and Infinite Flight Community, reported a bug where the “You’ve reached your likes today” message displayed an absurdly large number of hours (e.g., 419,691 hours or ~47 years) before likes would reset. The issue wasn’t merely cosmetic — as fefrei noted, the rate-limiting logic itself was broken, preventing users from liking even their first post of the day. itsbhanusharma, schyllberg, and Captain_Ed confirmed the bug affected multiple sites. While some users like AustralianFlyer could still like on Meta but not elsewhere, others like itsbhanusharma were blocked entirely. codinghorror and sam acknowledged the issue, with sam confirming a fix was being deployed to hosted customers via this commit. Users like ma0sm confirmed the fix was working post-deployment. The bug was treated as non-priority initially but escalated due to its functional impact on core user interaction.

Today at Discourse Meta I encountered this limit for the very first time in last 3 years. Seems like the number is incorrect:

Just a minor non-priority fix.

7 лайков

Sorry I saw this one first @schungx

2 лайка

Happening to me as well!

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

1 лайк

Same thing going on @ IFC.

https://community.infinite-flight.com/t/47-years-for-likes-to-come-back/168803

6 лайков

Unfortunately this started happening over at the Infinite Flight Community as well (as linked above).

3 лайка

Actually, I think it is fixed only here on the Discourse Meta site. Can anyone else confirm?

3 лайка

I doubt in 47.3 years I will be using Discourse

5 лайков

Oh, this is actually pretty serious: This isn’t just about the incorrect display, the rate limiting logic itself is broken. I just got this message for my first like of the day.

9 лайков

I can like on here, but not on the IFC.

4 лайка

And I can not like here or on my comunity forum! ..

3 лайка

Just making sure @sam has seen this.

1 лайк

I saw this, @zogstrip is deploying a fix to our hosted customers.

6 лайков

We’ll be waiting at the IFC :wink:

3 лайка

This fixes the issue

https://github.com/discourse/discourse/commit/5a9622163df65a77979ebe24a6bb6e9e12f09400

Will get it deployed shortly, apologies

15 лайков

Great work on this team, Shaun and the lads at community.drownedinsound.com will be chuffed to hear the news!

1 лайк

Working for us now, thanks guys!

7 лайков