haystack
haystack copied to clipboard
Add timeouts to external requests calls
Is your feature request related to a problem? Please describe. There was a new pylint release https://pylint.pycqa.org/en/latest/whatsnew/2/2.15/index.html which added a new checker missing-timeout. We disabled the check for the respective lines in our code base as a quick fix in this PR but we should instead add timeouts to these calls.
Alternative: keep as is with disabling this particular check in every file that does a requests call, in every line of code that does requests calls, or in a project-wide pylintrc file.