comments from review

This commit is contained in:
Ethan Buchman
2017-07-10 13:39:23 -04:00
parent bcde80fc4f
commit 75df0d91ba
3 changed files with 8 additions and 3 deletions
+5 -1
View File
@@ -21,7 +21,11 @@ const (
minWriteBufferSize = 65536
updateState = 2 * time.Second
pingTimeout = 40 * time.Second
flushThrottle = 100 * time.Millisecond
// flushThrottle used here as a default.
// overwritten by the user config.
// TODO: remove
flushThrottle = 100 * time.Millisecond
defaultSendQueueCapacity = 1
defaultSendRate = int64(512000) // 500KB/s