diff --git a/Cargo.toml b/Cargo.toml
index 0b1c12e..42c2590 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -35,7 +35,8 @@ pretty_toa = "1.0.0"
sloggers = "0.3"
#sloggers = { path = "../sloggers" }
-decimal = { path = "../decimal", version = "2" }
+#decimal = { path = "../decimal", version = "2" }
+decimal = { git = "https://github.com/jonathanstrong/decimal", branch = "v2.3.x" }
#windows = { path = "../windows", version = "0.2" }
money = { path = "../money", version = "0.3" }
@@ -56,6 +57,7 @@ disable-short-uuid = []
warnings = []
inlines = []
latency = ["pubsub"]
+string-tags = []
[profile.bench]
lto = true
diff --git a/src/influx.rs b/src/influx.rs
index d95a73d..d2f9e27 100644
--- a/src/influx.rs
+++ b/src/influx.rs
@@ -3,7 +3,8 @@
use std::io::Read;
use std::sync::Arc;
-use std::sync::mpsc::{Sender, Receiver, channel, SendError};
+//use std::sync::mpsc::{Sender, Receiver, channel, SendError};
+use crossbeam_channel::{Sender, Receiver, bounded, SendError};
use std::{thread, mem};
use std::time::*;
use std::hash::BuildHasherDefault;
@@ -96,7 +97,7 @@ impl AsF64 for f32 { fn as_f64(x: Self) -> f64 { x as f64 } }
/// use logging::influx::*;
///
/// fn main() {
-/// let (tx, rx) = channel();
+/// let (tx, rx) = bounded(1024);
///
/// // "shorthand" syntax
///
@@ -331,7 +332,7 @@ impl InfluxWriter {
}
pub fn placeholder() -> Self {
- let (tx, _) = channel();
+ let (tx, _) = bounded(1024);
Self {
host: String::new(),
db: String::new(),
@@ -350,7 +351,7 @@ impl InfluxWriter {
let logger = logger.new(o!(
"host" => host.to_string(),
"db" => db.to_string()));
- let (tx, rx): (Sender