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
adds check that buffer_size > 0 to allow 0-size buffer, flush every message setting
master
Jonathan Strong
7 years ago
parent
c625ce1c3e
commit
9aaf6cd8ab
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/influx.rs
+ 1
- 1
src/influx.rs
View File
@@ -232,7 +232,7 @@ impl InfluxWriter {
"buf.len()" => buf.len());
"buf.len()" => buf.len());
match prev {
match prev {
0 => {
0
if buffer_size > 0
=> {
buf.push_str(s);
buf.push_str(s);
1
1
}
}
Write
Preview
Loading…
Cancel
Save