mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
`after_commit` should be used before refreshing processes to be sure that the database is already updated. Also, MessageBus is used instead of events as MessageBus works correctly with many processes;