QueryCache: Add ActiveJob wrapper

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 2.18.0
    • Affects Version/s: None
    • Component/s: Query
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to how Mongoid provides QueryCache Middleware, it would be nice if Mongoid provided a way to blanket-enable Querycache for ActiveJob (per-job)

      This could be done using theĀ around_perform callback

      https://edgeguides.rubyonrails.org/active_job_basics.html#available-callbacks

              Assignee:
              Oleg Pudeyev (Inactive)
              Reporter:
              Johnny Shields
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: