crystal-lang / shards

Dependency manager for the Crystal language
Other
765 stars 102 forks source link

Improve git reliability by retrying on failures #450

Closed fudanchii closed 3 years ago

fudanchii commented 3 years ago

Occasionally, though it's always happen with my connection, either git clone --mirror or git fetch --all via http will tend to fail with closed connection.

2020-12-04_06-05

Doing retry directly on the git command seem to fix the situation. In addition, bundle also doing this with their git_proxy 2020-12-04_06-02

straight-shoota commented 3 years ago

Thanks @fudanchii