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

theorems are processing indefinitely #1802

Open
tillmo opened this issue Aug 18, 2016 · 3 comments
Open

theorems are processing indefinitely #1802

tillmo opened this issue Aug 18, 2016 · 3 comments
Assignees

Comments

@tillmo
Copy link
Member

tillmo commented Aug 18, 2016

https://ontohub.org/esslli-clone/FOL/OrderTheory_structured//RichBooleanAlgebra//trans///proof_attempts

@tillmo tillmo added this to the improve stability milestone Aug 18, 2016
@eugenk
Copy link
Member

eugenk commented Aug 18, 2016

Looking at the failed jobs in Sidekiq, this is the same error as #1753, only for proof attempts.

@tillmo
Copy link
Member Author

tillmo commented Aug 18, 2016

so the fix could be analoguous?

@eugenk
Copy link
Member

eugenk commented Aug 18, 2016

Unfortunately not. We don't use callbacks that start a job asynchronously as with ActiveRecord models. Here, we invoke it by hand after the transaction has completed and it still is a problem:

ActiveRecord::Base.transaction do
specific_axiom_selection.save!
proof_attempts.each do |proof_attempt|
proof_attempt.save!
proof_attempt.proof_attempt_configuration.save!
end
end
prove

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

2 participants