651a38392e9e6507a0702072b4d548ba90e9841b
Creates two module-level requests.Session objects (_gitea_session, _github_session) with an HTTPAdapter backed by urllib3 Retry: - 3 retries with 0.5s exponential backoff - retries on 429, 500, 502, 503, 504 and connection errors - GET-only to avoid unsafe retries Benefits: - TCP connections are pooled and reused across all package checks, including concurrent builds in ThreadPoolExecutor - Transient network blips no longer cause spurious rebuilds - Per-request timeouts tightened to 10s (Gitea) / 15s (GitHub) so failures surface quickly and the retry budget is actually useful
Description
A repository for building RPMs in docker
Languages
Python
67%
Shell
30.8%
Makefile
1.5%
Dockerfile
0.7%