fabric8-analytics / fabric8-analytics-worker

fabric8-analytics worker for gathering raw data
GNU General Public License v3.0
8 stars 45 forks source link

fix: Retry mechanism modified. #957

Closed jparsai closed 3 years ago

jparsai commented 3 years ago

Description

Updated tenacity retry statements, and using it in wrapper function "execute_gh_queries" as well. If "get_gh_query_response" fails for all 5 attempts "execute_gh_queries" will retry it again.

codecov-io commented 3 years ago

Codecov Report

Merging #957 (3e94b89) into master (b6ca18d) will increase coverage by 0.05%. The diff coverage is 88.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #957      +/-   ##
==========================================
+ Coverage   61.92%   61.98%   +0.05%     
==========================================
  Files          85       85              
  Lines        5755     5761       +6     
  Branches      742      741       -1     
==========================================
+ Hits         3564     3571       +7     
+ Misses       2010     2009       -1     
  Partials      181      181              
Impacted Files Coverage Δ
f8a_worker/utils.py 79.08% <88.23%> (+0.61%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b6ca18d...3e94b89. Read the comment docs.