summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ssh.apache/about.html
diff options
context:
space:
mode:
authorNasser Grainawi <quic_nasserg@quicinc.com>2023-01-10 16:15:42 -0700
committerMatthias Sohn <matthias.sohn@sap.com>2023-01-13 18:45:02 +0100
commit21b2aef0aa9f71306733c7724f7ffff3e86206de (patch)
tree32d28c1c34ecf4c64ad4467ce70fb4d57f807084 /org.eclipse.jgit.ssh.apache/about.html
parentfed1a54935c0180e95804d42c1700b1f1819de3d (diff)
downloadjgit-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