mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Note, to avoid race conditions we are setting last_unread to 10 minutes ago if there is nothing unread. This is safer in case of in progress transactions we don't want to lose unread for any window of time.