Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
MONGOID-5445 Add load_async to criteria #5454
MONGOID-5445 Add load_async to criteria #5454
Changes from 19 commits
f1feea3
b08665e
b82701c
471eeda
3998d46
686b772
bd23dc7
ea28262
5330c3b
ffe952c
0e8b843
acd1a94
a166d8a
a7a975d
6de107f
171c8a9
69f68bb
4a3130a
5a99a83
7424de1
1bee49a
26ebe60
83633da
b178fbf
0c2d4ca
a8bd588
a917015
7ceb4c4
5a80cc4
c8d351b
2374e42
73059a9
f010f08
58c2d49
25b8f75
34a76da
5e85f80
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is the max queue 4 times the number of threads?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this from Rails code. Unfortunately, there is no explanations why they pick four. Honestly, I do not know what would be a sane default here.
Do you think we should make this configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, if rails does it, it must be right!