mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 11:47:35 +08:00
The BumpTopic job was raising Discourse::InvalidParameters when the scheduled bump date had already passed by the time Sidekiq executed the job. This happened because set_or_create_timer validates that timestamps must be in the future. Now the job checks if the date is still in the future before attempting to create the timer. If the bump time has passed, there's nothing to do anyway. Also handles malformed date strings gracefully by rescuing ArgumentError from Time.parse. |
||
|---|---|---|
| .. | ||
| regular/discourse_post_event | ||
| scheduled | ||