Browse Source

changes default InfluxWriter buffer to 4096 (anal retentive)

master
Jonathan Strong 6 years ago
parent
commit
102f6ac7e8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/influx.rs

+ 1
- 1
src/influx.rs View File

@@ -222,7 +222,7 @@ impl Default for InfluxWriter {
//if cfg!(any(test, feature = "test")) {
// InfluxWriter::new("localhost", "test", "/home/jstrong/src/logging/var/log/influx-test.log", 0)
//} else {
InfluxWriter::new("localhost", "test", "/tmp/influx-test.log", 4000)
InfluxWriter::new("localhost", "test", "/tmp/influx-test.log", 4096)
//}
}
}


Loading…
Cancel
Save