stalker
stalker copied to clipboard
Hangs on the same job when saving without validation
job "address.geocode" do |args|
address = Address.find(args["id"])
address.geocode
address.save
end
does work. But when using address.save :validate => false
the same job gets processed over and over again until it fails.
Working address.geocode (id=4)
Finished address.geocode in 233ms
Working address.geocode (id=4)
Finished address.geocode in 321ms
Working address.geocode (id=4)
Finished address.geocode in 221ms
Working address.geocode (id=4)
Finished address.geocode in 188ms
Working address.geocode (id=4)
...
Idk if it's just me or if this is a bug. However I would mention this in the wiki.