Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Reduce repo indexer disk usage #3452
Reduces disk usage of the repo (i.e. code) indexer:
I saw as roughly 3x (1.5GB -> 500MB) reduction in disk usage as a result of these changes (of course, mileage will vary depending on what type of text/code you are indexing).
Also introduces a migration-like versions to the issue and repo indexers to facilitate changes (which will typically require rebuilding the index).
Yes, this PR shamelessly pulls in https://github.com/ethantkoenig/rupture as a dependency to facilitate tracking indexer versions and migrations; I am aware of no other alternatives.
@@ Coverage Diff @@ ## master #3452 +/- ## ========================================== - Coverage 35.67% 35.67% -0.01% ========================================== Files 281 281 Lines 40697 40671 -26 ========================================== - Hits 14519 14508 -11 + Misses 24031 24020 -11 + Partials 2147 2143 -4