Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: resolve sidekiq json-unsafe warning #1272

Merged

Commits on Mar 5, 2022

  1. chore: resolve sidekiq json-unsafe warning

    Sidekiq 6.4 has started to log warnings
    (sidekiq/sidekiq#5071) if the job arguments are
    not strictly JSON-safe i.e. serializing to JSON and deserializing from
    JSON yield consistent outputs. To what it means, we cannot use a hash
    with symbol keys since doing the JSON rountrip will change them all to
    string keys.
    
    This fix will transform the hash argument with symbol keys to string
    keys so Sidekiq won't complain it (and break it starting version 7.0).
    QQism committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    3e241af View commit details
    Browse the repository at this point in the history