Skip to content

Commit

Permalink
Fixed history size being 0 with old config files.
Browse files Browse the repository at this point in the history
  • Loading branch information
wizjany committed May 29, 2011
1 parent 1c94265 commit 281db09
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -82,7 +82,7 @@ public void load() {

noOpPermissions = config.getBoolean("no-op-permissions", false);

LocalSession.MAX_HISTORY_SIZE = Math.max(0, config.getInt("history.size", 0));
LocalSession.MAX_HISTORY_SIZE = Math.max(0, config.getInt("history.size", 15));
LocalSession.EXPIRATION_GRACE = config.getInt("history.expiration", 10) * 60 * 1000;

String snapshotsDir = config.getString("snapshots.directory", "");
Expand Down

0 comments on commit 281db09

Please sign in to comment.