0.2.2
- Add tests - #15 thanks to @ahorek
- Default status are correctly updated when using throttling mechanism - #16 thanks to @jeanne-b-
progess
is correctly synced when using.update()
This is especially usefull to perform less cache writes
class MyJob < ActiveJob::Base
include ActiveJob::Status
def perform
status.update(step: "B", total: 50, progress: 10)
# `progress.total` is now set to 50
# and `progress.progress` to 10
end
end