try this version of influxdb2

This commit is contained in:
Bryan Stitt 2023-06-16 23:41:12 -07:00
parent d6513cde74
commit 74d2333039
3 changed files with 5 additions and 6 deletions

6
Cargo.lock generated
View File

@ -2911,7 +2911,7 @@ dependencies = [
[[package]]
name = "influxdb2"
version = "0.4.2"
source = "git+https://github.com/llamanodes/influxdb2?rev=1e5577e14150797584f5ed0ea7aba0bd68f0a678#1e5577e14150797584f5ed0ea7aba0bd68f0a678"
source = "git+https://github.com/llamanodes/influxdb2?rev=2d125128696a29d7e0b9abc052c928937e7c0579#2d125128696a29d7e0b9abc052c928937e7c0579"
dependencies = [
"base64 0.21.2",
"bytes",
@ -2937,7 +2937,7 @@ dependencies = [
[[package]]
name = "influxdb2-derive"
version = "0.1.1"
source = "git+https://github.com/llamanodes/influxdb2?rev=1e5577e14150797584f5ed0ea7aba0bd68f0a678#1e5577e14150797584f5ed0ea7aba0bd68f0a678"
source = "git+https://github.com/llamanodes/influxdb2?rev=2d125128696a29d7e0b9abc052c928937e7c0579#2d125128696a29d7e0b9abc052c928937e7c0579"
dependencies = [
"itertools",
"proc-macro2",
@ -2949,7 +2949,7 @@ dependencies = [
[[package]]
name = "influxdb2-structmap"
version = "0.2.0"
source = "git+https://github.com/llamanodes/influxdb2?rev=1e5577e14150797584f5ed0ea7aba0bd68f0a678#1e5577e14150797584f5ed0ea7aba0bd68f0a678"
source = "git+https://github.com/llamanodes/influxdb2?rev=2d125128696a29d7e0b9abc052c928937e7c0579#2d125128696a29d7e0b9abc052c928937e7c0579"
dependencies = [
"chrono",
"num-traits",

View File

@ -23,8 +23,8 @@ payment-contracts = { path = "../payment-contracts" }
redis-rate-limiter = { path = "../redis-rate-limiter" }
ethers = { git = "https://github.com/llamanodes/ethers-rs/", rev = "eb68f5d60850008cd302762bd3a5a4bdcfecc713", default-features = false, features = ["rustls", "ws"] }
influxdb2 = { git = "https://github.com/llamanodes/influxdb2", features = ["rustls"], rev = "1e5577e14150797584f5ed0ea7aba0bd68f0a678" }
influxdb2-structmap = { git = "https://github.com/llamanodes/influxdb2/", rev = "1e5577e14150797584f5ed0ea7aba0bd68f0a678"}
influxdb2 = { git = "https://github.com/llamanodes/influxdb2", features = ["rustls"], rev = "2d125128696a29d7e0b9abc052c928937e7c0579" }
influxdb2-structmap = { git = "https://github.com/llamanodes/influxdb2/", rev = "2d125128696a29d7e0b9abc052c928937e7c0579"}
# TODO: regex has several "perf" features that we might want to use
# TODO: make sure this uuid version matches sea-orm. PR to put this in their prelude

View File

@ -255,7 +255,6 @@ pub async fn query_user_stats<'a>(
));
}
debug!("Raw query to db is: {:#?}", query);
let query = Query::new(query.to_string());
trace!("Query to db is: {:?}", query);