]> source.dussan.org Git - gitblit.git/commitdiff
Use getInteger not getFilesize, fixes #1049
authorJames Moger <james.moger@gitblit.com>
Wed, 20 Apr 2016 14:06:09 +0000 (10:06 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 20 Apr 2016 14:06:09 +0000 (10:06 -0400)
src/main/java/com/gitblit/manager/RepositoryManager.java

index e2e4de686d99fd2d3fffb322c0b7468fcac18df1..e9bf5b8486dbf49cc68d3b6329379e96a302e5b1 100644 (file)
@@ -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 {