diff options
author | Nasser Grainawi <quic_nasserg@quicinc.com> | 2023-01-10 16:15:42 -0700 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2023-01-13 18:45:02 +0100 |
commit | 21b2aef0aa9f71306733c7724f7ffff3e86206de (patch) | |
tree | 32d28c1c34ecf4c64ad4467ce70fb4d57f807084 /org.eclipse.jgit.ssh.apache/about.html | |
parent | fed1a54935c0180e95804d42c1700b1f1819de3d (diff) | |
download | jgit-21b2aef0aa9f71306733c7724f7ffff3e86206de.tar.gz jgit-21b2aef0aa9f71306733c7724f7ffff3e86206de.zip |
Cache trustFolderStat/trustPackedRefsStat value per-instance
Instead of re-reading the config every time the methods using these
values were called, cache the config value at the time of instance
construction. Caching the values improves performance for each of the
method calls. These configs are set based on the filesystem storing the
repository and unlikely to change while an application is running.
Change-Id: I1cae26dad672dd28b766ac532a871671475652df
Signed-off-by: Nasser Grainawi <quic_nasserg@quicinc.com>
Diffstat (limited to 'org.eclipse.jgit.ssh.apache/about.html')
0 files changed, 0 insertions, 0 deletions