Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
ci: fix rust ci (#4861)
Richard Shiue4b5195d89180
diff --git a/.github/workflows/rust_ci.yaml b/.github/workflows/rust_ci.yamlindex 9cca48942d..4b30b0043a 100644--- a/.github/workflows/rust_ci.yaml+++ b/.github/workflows/rust_ci.yaml@@ -91,7 +91,7 @@ jobs:RUST_LOG: infoRUST_BACKTRACE: 1af_cloud_test_base_url: http://localhost- af_cloud_test_ws_url: ws://localhost/ws+ af_cloud_test_ws_url: ws://localhost/ws/v1af_cloud_test_gotrue_url: http://localhost/gotruerun: cargo test --no-default-features --features="rev-sqlite,dart" -- --nocapturediff --git a/frontend/rust-lib/flowy-server/src/af_cloud/server.rs b/frontend/rust-lib/flowy-server/src/af_cloud/server.rsindex ef5522f9aa..27f31dab1d 100644--- a/frontend/rust-lib/flowy-server/src/af_cloud/server.rs+++ b/frontend/rust-lib/flowy-server/src/af_cloud/server.rs@@ -259,7 +259,7 @@ fn spawn_ws_conn(tokio::time::sleep(Duration::from_secs(2)).await;event!(tracing::Level::INFO, "🟢reconnecting websocket");- let _ = ws_client.connect(&api_client.ws_addr(), conn_info).await;+ let _ = ws_client.connect(api_client.ws_addr(), conn_info).await;},Err(err) => error!("Failed to get ws url: {}, connect state:{:?}", err, state),}@@ -291,7 +291,7 @@ fn spawn_ws_conn({match api_client.ws_connect_info().await {Ok(conn_info) => {- let _ = ws_client.connect(&api_client.ws_addr(), conn_info).await;+ let _ = ws_client.connect(api_client.ws_addr(), conn_info).await;},Err(err) => error!("Failed to get ws url: {}", err),}