Right now we have a fixed timeout for extractions that require and http fetch:
Could we add a new optional timeout parameter to the main extract entry point that would be passed in to that call to fetch? This would be a better API for users of the library vs. forcing them to do a hack like mcmetadata.webpages.DEFAULT_TIMEOUT_SECS = 60*5 (which is what I'm trying out now).
Right now we have a fixed timeout for extractions that require and http fetch:
metadata-lib/mcmetadata/webpages.py
Line 7 in 930945f
Could we add a new optional
timeoutparameter to the mainextractentry point that would be passed in to that call to fetch? This would be a better API for users of the library vs. forcing them to do a hack likemcmetadata.webpages.DEFAULT_TIMEOUT_SECS = 60*5(which is what I'm trying out now).