1. 10 9月, 2020 1 次提交
  2. 17 6月, 2020 1 次提交
  3. 18 5月, 2020 1 次提交
  4. 07 5月, 2020 1 次提交
  5. 02 5月, 2020 2 次提交
  6. 19 4月, 2020 1 次提交
  7. 09 4月, 2020 1 次提交
  8. 20 3月, 2020 1 次提交
  9. 04 3月, 2020 1 次提交
  10. 13 2月, 2020 1 次提交
  11. 22 1月, 2020 1 次提交
  12. 21 1月, 2020 1 次提交
  13. 20 1月, 2020 1 次提交
  14. 08 1月, 2020 1 次提交
  15. 27 12月, 2019 1 次提交
  16. 20 12月, 2019 1 次提交
  17. 19 12月, 2019 1 次提交
  18. 14 12月, 2019 1 次提交
  19. 10 12月, 2019 1 次提交
  20. 09 12月, 2019 1 次提交
  21. 27 11月, 2019 1 次提交
  22. 07 11月, 2019 1 次提交
    • M
      Allow Sidekiq access to the underlying Job class · eb4f36c1
      Mike Perham 提交于
      Currently `wrapped` is a String.  Instead pass Class so that Sidekiq can get access to the ActiveJob and its configuration without having to constantize.  I verified that `JobClass.to_s` == `"JobClass"` so serialization to JSON should not be affected.
      
      ```ruby
      > JSON.dump({"wrapped" => SomeJob})
      => "{\"wrapped\":\"SomeJob\"}"
      ```
      
      By having access to the ActiveJob class, Sidekiq can get access to any `sidekiq_options` which have been set on that ActiveJob type and serialize those options into Redis.
      
      https://github.com/mperham/sidekiq/blob/master/Changes.md#60
      eb4f36c1
  23. 05 11月, 2019 1 次提交
  24. 01 11月, 2019 1 次提交
  25. 17 8月, 2019 1 次提交
  26. 26 7月, 2019 1 次提交
  27. 23 7月, 2019 1 次提交
  28. 25 4月, 2019 1 次提交
  29. 23 4月, 2019 1 次提交
    • J
      Use ActiveJob 5.2 retry logic for old jobs · 5d9359bb
      John Hawthorn 提交于
      Rails 6 introduces retries per-exception, instead of a global count of
      retries. Because ActiveJob 5.2 doesn't serialize the execution count
      per-exception, when ActiveJob 6.0 picks up an "old" job it can't know
      the exception count in the new format.
      
      This can also be an issue if AJ 6.0 serializes a new job with
      exception_executions which is later picked up by AJ 5.2, which would
      clear exception_executions (since it has no knowledge of it).
      
      Previously we handled this by resetting exception_executions, if it
      wasn't defined on a job, which could result in the worst case retrying
      the job 2x the times we should.
      
      This commit changes how we handle loading a legacy job: instead of
      resetting exception_executions, we instead will always use the global
      executions count.
      
      This way, jobs which only have one retry_on (and didn't have a behaviour
      change in AJ 6) are backwards-and-forwards-compatible with counts
      respected exactly.
      
      Jobs with multiple retry_on will revert to the AJ5.2 behaviour if they
      were ever run under AJ5.2.
      5d9359bb
  30. 12 4月, 2019 1 次提交
  31. 05 4月, 2019 2 次提交
  32. 23 3月, 2019 1 次提交
  33. 11 3月, 2019 1 次提交
    • E
      Prep release · 7c87fd56
      eileencodes 提交于
      * Update RAILS_VERSION
      * Bundle
      * rake update_versions
      * rake changelog:header
      7c87fd56
  34. 09 3月, 2019 1 次提交
  35. 26 2月, 2019 1 次提交
  36. 25 2月, 2019 1 次提交
  37. 14 2月, 2019 1 次提交
    • C
      Adding enque time tracking and logging · 31021c78
      Cory Gwin @gwincr11 提交于
      Motivation:
        - Currently we have 2 seperate monkey patches in place for tracking
        enqueded time for 2 seperate workers. It seems that activejob could be
        a source of truth for how long an item has been enqued so that we can
        easily use it for consistent monitoring across workers/apps to ensure
        that jobs are running at an acceptable speed.
      
      Changes:
        - Add an enqueded at attribute and serilization tooling.
        - Add a method to get how long a job has been enqueded for.
        - Add a logging item to show how long a job was enqued prior to the
        perform method firing.
      31021c78
  38. 12 2月, 2019 1 次提交