Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] How to completely disable auto GC in JGit

Hello,

Our application uses JGit. We found that our unit-tests sometimes fail on repository deletion due to "gc.log.lock" files.
To disable auto GC in JGit we use the next settings:
    gc.auto = 0
    gc. autopacklimit = 0

But it seems that it is not enough. Searching through JGit sources I found 2 more parameters:
    gc.autoDetach
    gc.autogc

What is the correct way to fully disable auto GC in JGit including avoiding "gc.log.lock" files creation?
Are the above 4 parameters enough to achieve the goal?



--

                    ISS Art website
Best regards,
Denis Malyshkin, Senior C++ Developer
ISS Art, LLC - custom software development company
Skype: dmalyshkin
Phone: +73812909808

                      Read ISS Art Blog   
                      Find ISS Art on Facebook   
                      Join ISS Art on LinkedIn   
                      Follow ISS Art on Twitter    Visit ISS Art on VK.com
IMPORTANT: The contents of this email and any attachments are confidential and intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and delete it from your system. You may not copy this email or disclose its contents to anyone. Thank you.

Back to the top