From 102f6ac7e8ae4c8d0d05a55aeef3d96776e5f7ee Mon Sep 17 00:00:00 2001 From: Jonathan Strong Date: Tue, 18 Sep 2018 04:44:26 -0400 Subject: [PATCH] changes default InfluxWriter buffer to 4096 (anal retentive) --- src/influx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/influx.rs b/src/influx.rs index 6b7e348..38057d1 100644 --- a/src/influx.rs +++ b/src/influx.rs @@ -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) //} } }