Run git gc periodically on the crates.io index#975
Run git gc periodically on the crates.io index#975jyn514 merged 5 commits intorust-lang:masterfrom ohaddahan:run_git_gc
Conversation
Co-authored-by: Chase Wilson <buckshot1233@gmail.com>
Co-authored-by: Chase Wilson <buckshot1233@gmail.com>
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
Co-authored-by: Chase Wilson <buckshot1233@gmail.com>
|
BTW, maybe we should add some logging on success too, just to be sure it's actually working as expected. Line 78 in 508a9d0 |
|
Sounds good to me. Time for another PR? 😆 |
|
It's my stated goal to as-soon-as-reasonable switch I was thinking that we really want to run GC if there are too many packs, and too many really means more than we are allowed to open as per the file handle limit. What if Here is the tracking issue for feedback, comments and general brainstorming. |
@Kixiron @jyn514 @pietroalbini
Deleted my fork and restart my changes, also separated them into smaller chunks.
Hopefully I got understood and implemented your comments properly.
(#956)