Skip to content

Commit

Permalink
use seconds for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
weaondara committed May 23, 2015
1 parent 8abda9c commit 2ee4551
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/net/alpenblock/bungeeperms/BPConfig.java
Expand Up @@ -40,8 +40,8 @@ public class BPConfig
private boolean debug;

//cleanup
private long cleanupInterval;
private long cleanupThreshold;
private int cleanupInterval;
private int cleanupThreshold;

public BPConfig(Config config)
{
Expand Down Expand Up @@ -76,8 +76,8 @@ public void load()
terminateSuffixSpace = config.getBoolean("terminate.suffix.space", true);

//cleanup
cleanupInterval = config.getLong("cleanup.interval", 30 * 60 * 1000);
cleanupThreshold = config.getLong("cleanup.threshold", 10 * 60 * 1000);
cleanupInterval = config.getInt("cleanup.interval", 30 * 60);
cleanupThreshold = config.getInt("cleanup.threshold", 10 * 60);
}

public void setUseUUIDs(boolean useUUIDs)
Expand Down

0 comments on commit 2ee4551

Please sign in to comment.