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

? #553

Closed
undefined-moe opened this issue Apr 17, 2020 · 4 comments
Closed

? #553

undefined-moe opened this issue Apr 17, 2020 · 4 comments

Comments

@undefined-moe
Copy link
Member

await problem.inc(rdoc['domain_id'], rdoc['pid'], 'num_accept', 1)

Why not post_coros.append ?

@twd2
Copy link
Member

twd2 commented Apr 17, 2020

I remember, job.difficulty.update_problem depends on num_accept, so it should be executed before that.

Feel free to add comments to justify this for us and PR.

@twd2
Copy link
Member

twd2 commented Apr 17, 2020

Should you have any other questions, just reopen this issue.

@twd2 twd2 closed this as completed Apr 17, 2020
@undefined-moe
Copy link
Member Author

What about passing pdoc instead of passing pid to difficulity.update_problem ?

@twd2
Copy link
Member

twd2 commented Apr 18, 2020

strange

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