haystack icon indicating copy to clipboard operation
haystack copied to clipboard

Add timeouts to external requests calls

Open julian-risch opened this issue 3 years ago • 0 comments

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.

julian-risch avatar Aug 26 '22 13:08 julian-risch