Skip to content

Fixes `Sidekiq.strict_args` warning

Bojan Marjanovic requested to merge bmarjanovic/fix-sidekiq-strict-args into master

What does this MR do and why?

This MR fixes the Sidekiq's warning message:

Job arguments to Users::TrackNamespaceVisitsWorker must be native JSON types, but Fri, 23 Aug 2024 14:39:29 +0200 is a DateTime.
See https://github.com/sidekiq/sidekiq/wiki/Best-Practices
To disable this error, add `Sidekiq.strict_args!(false)` to your initializer.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Checkout the branch
  2. Verify there is no warning message anymore 🎉

Merge request reports