This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
influx-writer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
influx batchsize 40 -> 80
master
Jonathan Strong
7 years ago
parent
2e83efbe2b
commit
fc1e07209f
1 changed files
with
3 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/influx.rs
+ 3
- 1
src/influx.rs
View File
@@ -320,11 +320,13 @@ pub fn writer_str_or_meas(log_path: &str, warnings: Sender<Warning>) -> (thread:
buf.push_str(s);
buf.push_str(s);
1
1
}
}
n @ 1...40 => {
n @ 1...80 => {
buf.push_str("\n");
buf.push_str("\n");
buf.push_str(s);
buf.push_str(s);
n + 1
n + 1
}
}
_ => {
_ => {
buf.push_str("\n");
buf.push_str("\n");
buf.push_str(s);
buf.push_str(s);
Write
Preview
Loading…
Cancel
Save