Permalink
Browse files

minor change with HttpSenderThread class

  • Loading branch information...
muga committed Aug 12, 2012
1 parent 042410b commit 11d044e53a4a7513440542c6c54e9a6c30aa477a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/treasure_data/logger/sender/HttpSenderThread.java
@@ -76,7 +76,7 @@ void upload() {
long nextWait;
if (errorCount == 0) {
if (flushed && flushInterval < maxFlushInterval) {
- flushInterval = Math.min(flushInterval, maxFlushInterval);
+ flushInterval = Math.min(flushInterval + 60, maxFlushInterval);
}
nextWait = flushInterval;
} else {

0 comments on commit 11d044e

Please sign in to comment.