mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
We were calling the job with a symbol as one of the values: ```ruby Jobs.enqueue( :send_message_notifications, chat_message_id: 1, timestamp: Time.now.iso8601(6), reason: :new, ) ``` Which is a bad pattern as when the job serialisation will happen, `:new` will become `"new"` and you have to deal with a string in your job and not a symbol, which can be confusing and lead to bugs. |
||
---|---|---|
.. | ||
chat | ||
discourse-details | ||
discourse-local-dates | ||
discourse-narrative-bot | ||
discourse-presence | ||
lazy-yt | ||
poll | ||
styleguide |