Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs on the same job when saving without validation #18

Open
pduersteler opened this issue Aug 5, 2011 · 0 comments
Open

Hangs on the same job when saving without validation #18

pduersteler opened this issue Aug 5, 2011 · 0 comments

Comments

@pduersteler
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant