-
Notifications
You must be signed in to change notification settings - Fork 212
Run git gc periodically on the crates.io index #975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very nice :)
Co-authored-by: Chase Wilson <[email protected]>
Co-authored-by: Chase Wilson <[email protected]>
Co-authored-by: Joshua Nelson <[email protected]>
Co-authored-by: Chase Wilson <[email protected]>
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)