lib/rocket_job/server.rb in rocketjob-3.0.3 vs lib/rocket_job/server.rb in rocketjob-3.0.4
- old
+ new
@@ -59,10 +59,10 @@
validates_presence_of :state, :name, :max_workers
# States
# :starting -> :running -> :paused
# -> :stopping
- aasm column: :state do
+ aasm column: :state, whiny_persistence: true do
state :starting, initial: true
state :running
state :paused
state :stopping