chore: merge with main
This commit is contained in:
commit
8f2182900c
|
|
@ -187,7 +187,7 @@ pub async fn init_state(config: &Config, rt_cmd_tx: RTCommandSender) -> Result<A
|
||||||
info!("Connecting to Redis...");
|
info!("Connecting to Redis...");
|
||||||
let redis_conn_manager = get_redis_client(config.redis_uri.expose_secret()).await?;
|
let redis_conn_manager = get_redis_client(config.redis_uri.expose_secret()).await?;
|
||||||
|
|
||||||
let ai_client = AppFlowyAIClient::new(config.appflowy_ai.url.expose_secret());
|
let appflowy_ai_client = AppFlowyAIClient::new(config.appflowy_ai.url.expose_secret());
|
||||||
|
|
||||||
// Pg listeners
|
// Pg listeners
|
||||||
info!("Setting up Pg listeners...");
|
info!("Setting up Pg listeners...");
|
||||||
|
|
@ -264,7 +264,7 @@ pub async fn init_state(config: &Config, rt_cmd_tx: RTCommandSender) -> Result<A
|
||||||
metrics,
|
metrics,
|
||||||
gotrue_admin,
|
gotrue_admin,
|
||||||
mailer,
|
mailer,
|
||||||
ai_client,
|
ai_client: appflowy_ai_client,
|
||||||
#[cfg(feature = "history")]
|
#[cfg(feature = "history")]
|
||||||
grpc_history_client,
|
grpc_history_client,
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue