mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 20:46:25 +08:00

- instead of setting a random number, we actually store the post id in redis now - and when checking for matching recent post and it is the same, we allow it still Fixes the issue that we prevent a user from reverting to a previous state within the unique_posts_min time window.