gabrie30 fd26d5e698
Add clone delay option with auto concurrency adjustment (#567)
* Add clone delay option with auto concurrency adjustment

Introduces GHORG_CLONE_DELAY_SECONDS to control delay between cloning repositories for rate limiting. When set to a value greater than 0, concurrency is automatically set to 1 for predictable behavior. Updates CLI flags, environment variable defaults, config printing, and sample config documentation. Applies delay before cloning or pulling repositories.

* Refactor clone delay logic and add helper functions

Introduced helper functions for parsing and applying clone delay configuration, improving code reuse and readability. Centralized delay logic in repository processing and removed duplicate environment variable checks. Now, clone delay is consistently applied and concurrency is auto-adjusted when necessary.
2025-08-28 17:35:40 -07:00
..
2024-09-27 17:23:35 -07:00
2024-09-18 20:47:58 -07:00
2025-07-02 07:44:17 -07:00