-
Notifications
You must be signed in to change notification settings - Fork 52
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
implementation of multi threading + switch to requests lib for download #47
base: master
Are you sure you want to change the base?
Conversation
Thanks for contributing this! I confirm that tests pass on TravisCI. Coverallls is a false negative :/ Personnally I cannot spend time on a deep analysis of your code. But I know that @PeterSprague and @gutard are interested since they opened issues on this matter: Thanks again! |
@@ -211,6 +238,9 @@ def __init__(self, url, layers, headers=None, tilesize=None, **kwargs): | |||
if parse_version(self.wmsParams['version']) >= parse_version('1.3'): | |||
projectionKey = 'crs' | |||
self.wmsParams[projectionKey] = GoogleProjection.NAME | |||
self.lock = threading.Lock() |
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.
since lock is private stuff, it's better if prefixed with underscore
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.
Indeed.
I'm having a bit of trouble to keep track of what is private and what is public as I haven't done python for quite a time and have done mostly c++/c# where it is clearly defined which are which.
…\'error\' attribute from TilesManager
…nt of number of threads + modified tests as needed
@gutard do you have feedback on this PR ? I scrolled a bit and it looks good! |
No description provided.