ansible / ansibullbot

Bot for management of Ansible issues and PRs on GitHub.
GNU General Public License v3.0
203 stars 126 forks source link

Set timout on fetch in Azure Pipelines to prevent indefinite hanging #1586

Closed samdoran closed 3 years ago

samdoran commented 3 years ago

This adds a timeout parameter to the fetch() calls in azp.py that do not have it. Only the change on line 105 is needed to fix the issue, I believe, but adding it other places I don't think will hurt unless the default value of 5 seconds is too low.

Fixes #1585.

codecov[bot] commented 3 years ago

Codecov Report

Merging #1586 (363890b) into master (3a51e2a) will not change coverage. The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #1586   +/-   ##
=======================================
  Coverage   35.80%   35.80%           
=======================================
  Files          52       52           
  Lines        7430     7430           
=======================================
  Hits         2660     2660           
  Misses       4770     4770