stalker icon indicating copy to clipboard operation
stalker copied to clipboard

Hangs on the same job when saving without validation

Open pduersteler opened this issue 13 years ago • 0 comments

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.

pduersteler avatar Aug 05 '11 07:08 pduersteler