summaryrefslogtreecommitdiffstats
path: root/src/main/java/com
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2016-04-20 10:06:09 -0400
committerJames Moger <james.moger@gitblit.com>2016-04-20 10:06:09 -0400
commitb32fa68832412374a1a905525a4e395d35b4d1ae (patch)
tree3ae7e5fd4dac4a6b98aea14c1944dd542143e6c0 /src/main/java/com
parent56619e42f0a1e555c004374e7f2b13f744ab23f5 (diff)
downloadgitblit-b32fa68832412374a1a905525a4e395d35b4d1ae.tar.gz
gitblit-b32fa68832412374a1a905525a4e395d35b4d1ae.zip
Use getInteger not getFilesize, fixes #1049
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/gitblit/manager/RepositoryManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/manager/RepositoryManager.java b/src/main/java/com/gitblit/manager/RepositoryManager.java
index e2e4de68..e9bf5b84 100644
--- a/src/main/java/com/gitblit/manager/RepositoryManager.java
+++ b/src/main/java/com/gitblit/manager/RepositoryManager.java
@@ -1922,7 +1922,7 @@ public class RepositoryManager implements IRepositoryManager {
cfg.setPackedGitWindowSize(settings.getFilesize(Keys.git.packedGitWindowSize, cfg.getPackedGitWindowSize()));
cfg.setPackedGitLimit(settings.getFilesize(Keys.git.packedGitLimit, cfg.getPackedGitLimit()));
cfg.setDeltaBaseCacheLimit(settings.getFilesize(Keys.git.deltaBaseCacheLimit, cfg.getDeltaBaseCacheLimit()));
- cfg.setPackedGitOpenFiles(settings.getFilesize(Keys.git.packedGitOpenFiles, cfg.getPackedGitOpenFiles()));
+ cfg.setPackedGitOpenFiles(settings.getInteger(Keys.git.packedGitOpenFiles, cfg.getPackedGitOpenFiles()));
cfg.setPackedGitMMAP(settings.getBoolean(Keys.git.packedGitMmap, cfg.isPackedGitMMAP()));
try {