increase flush interval

This commit is contained in:
zzz
2012-09-16 15:43:36 +00:00
parent 147e257cee
commit 0b7b947786

View File

@@ -25,7 +25,7 @@ import java.util.Queue;
class LogWriter implements Runnable {
/** every 10 seconds? why? Just have the gui force a reread after a change?? */
private final static long CONFIG_READ_INTERVAL = 50 * 1000;
private final static long FLUSH_INTERVAL = 9 * 1000;
private final static long FLUSH_INTERVAL = 29 * 1000;
private long _lastReadConfig;
private long _numBytesInCurrentFile;
// volatile as it changes on log file rotation