-
Notifications
You must be signed in to change notification settings - Fork 340
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
Improve threading in CDNSource #551
Improve threading in CDNSource #551
Conversation
Do we want this for 1.7.3 or 1.8.0? |
If 1.7 then point to |
You're right, 1.7 makes more sense. |
No. |
Aaah, found the pointing picker. Coming up! |
244e3a3
to
48b7f46
Compare
How hard/easy is to write tests for this change? |
48b7f46
to
522e9b7
Compare
522e9b7
to
47fb004
Compare
I rebased/repointed. Will test for the error messages but I don't know how to test the thread count. |
ba0b4dd
to
6d3822a
Compare
de8e2f8
to
a63c720
Compare
I ended up adding network error retries to the same PR cause it was small extra effort. |
Addressed @amorde's feedback. |
This PR addresses several issues in
CDNSource
:MAX_CDN_NETWORK_THREADS
).Future
s as apparently this is what theruby-concurrent
docs suggest.MAX_NUMBER_OF_RETRIES = 5
).