You've already forked AstralRinth
forked from didirus/AstralRinth
bump clickhouse, disable validation (#4593)
* bump clickhouse, disable validation * tombi fmt
This commit is contained in:
committed by
GitHub
parent
3dbfd69bdd
commit
79502a19d6
@@ -51,7 +51,7 @@ cidre = { version = "0.11.3", default-features = false, features = [
|
||||
"macos_15_0"
|
||||
] }
|
||||
clap = "4.5.48"
|
||||
clickhouse = "0.13.3"
|
||||
clickhouse = "0.14.0"
|
||||
color-eyre = "0.6.5"
|
||||
color-thief = "0.2.2"
|
||||
console-subscriber = "0.4.1"
|
||||
|
||||
@@ -27,6 +27,7 @@ pub async fn init_client_with_database(
|
||||
.with_url(dotenvy::var("CLICKHOUSE_URL").unwrap())
|
||||
.with_user(dotenvy::var("CLICKHOUSE_USER").unwrap())
|
||||
.with_password(dotenvy::var("CLICKHOUSE_PASSWORD").unwrap())
|
||||
.with_validation(false)
|
||||
};
|
||||
|
||||
client
|
||||
|
||||
@@ -691,7 +691,7 @@ async fn query_clickhouse<Row>(
|
||||
row_to_analytics: impl Fn(Row::Value<'_>) -> AnalyticsData,
|
||||
) -> Result<(), ApiError>
|
||||
where
|
||||
Row: clickhouse::Row + serde::de::DeserializeOwned + std::fmt::Debug,
|
||||
Row: clickhouse::RowRead + serde::de::DeserializeOwned + std::fmt::Debug,
|
||||
{
|
||||
let mut query = cx
|
||||
.clickhouse
|
||||
|
||||
Reference in New Issue
Block a user