![]() In the Housekeeping section, configure the housekeeping options.On the left sidebar, select Settings > Repository.On the left sidebar, select Search or go to.You can change how often Gitaly is asked to optimize a repository. Monorepos (which receive a lot of traffic) to avoid optimizing them too Gitaly does this to offset the fact that optimizing those data structures takes References are repacked less frequently the more references there are in.Objects are repacked frequently the bigger the total size of all objects.The decision whether any of the analyzed data structures need to be optimized is The number of packfiles that contain already-compressed objects.Heuristical housekeeping uses the following information to decide on the tasks More data structures are insufficiently optimized. Repository’s state and executes housekeeping tasks only when it finds one or ![]() The heuristical (or “opportunistic”) housekeeping strategy analyzes the Feature flag optimized_housekeeping removed. Introduced in GitLab 14.9 for the manual trigger and the push-based trigger with a flag named optimized_housekeeping.Inefficient in large repositories where performing the housekeeping tasks may If the repository is in an optimized state. Gitaly to perform specific housekeeping tasks. The eager housekeeping strategy is controlled by the GitLab application.ĭepending on the trigger that caused the housekeeping job to run, GitLab asks Manual trigger and the push-based trigger. This is the default strategy as used by the The “eager” housekeeping strategy executes housekeeping tasks in a repository To be executed based on the repository state. Tasks based on a set of heuristics that determine what housekeeping tasks need Heuristical housekeeping executes housekeeping.Independent of the state a repository is in. Eager housekeeping executes specific housekeeping tasks.Gitaly can perform housekeeping tasks in a Git repository in two ways: Repositories that are controlled by GitLab. Do not manually execute Git commands to perform housekeeping in Git
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |