Add: support more than one CDN url #37
Merged
Conversation
This is useful to distribute load/cost over multiple servers.
@LordAro @frosch123 : could either of you review this? Cheers! |
async def check_cdn_health(): | ||
await asyncio.sleep(1) | ||
|
||
log.info("Healthchecks for CDN servers %r enabled", CDN_URL) |
LordAro
Nov 21, 2020
Member
%r
?
%r
?
TrueBrain
Nov 22, 2020
Author
Member
yes, %r
. CDN_URL is a list or None
, so using __repr__
gives the best readable result, without doing complex things. Not sure what your question is here honestly :)
yes, %r
. CDN_URL is a list or None
, so using __repr__
gives the best readable result, without doing complex things. Not sure what your question is here honestly :)
LordAro
Nov 22, 2020
Member
Just didn't recognise it
Just didn't recognise it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is useful to distribute load/cost over multiple servers.