From 56b5c4c84301f598a8f3dae2597c27f5a3c8385b Mon Sep 17 00:00:00 2001 From: "Nathan.fooo" <86001920+appflowy@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:41:31 +0800 Subject: [PATCH] chore: disable old version history test (#604) --- deploy.env | 2 +- dev.env | 2 +- src/application.rs | 5 ++++- tests/ai_test/summarize_row.rs | 2 +- tests/collab_history/mod.rs | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/deploy.env b/deploy.env index 7694d1eb..e3421340 100644 --- a/deploy.env +++ b/deploy.env @@ -117,7 +117,7 @@ APPFLOWY_AI_SERVER_HOST=ai APPFLOWY_AI_DATABASE_URL=postgresql+psycopg://postgres:password@postgres:5432/postgres # AppFlowy History -APPFLOWY_HISTORY_URL=http://history:50051 +APPFLOWY_HISTORY_URL=http://localhost:50051 APPFLOWY_HISTORY_REDIS_URL=redis://redis:6379 APPFLOWY_HISTORY_DATABASE_URL=postgres://postgres:password@postgres:5432/postgres diff --git a/dev.env b/dev.env index 0520b40c..6baa6ebd 100644 --- a/dev.env +++ b/dev.env @@ -108,7 +108,7 @@ APPFLOWY_AI_SERVER_HOST=localhost APPFLOWY_AI_DATABASE_URL=postgresql+psycopg://postgres:password@postgres:5432/postgres # AppFlowy History -APPFLOWY_HISTORY_URL=http://history:50051 +APPFLOWY_HISTORY_URL=http://localhost:50051 APPFLOWY_HISTORY_REDIS_URL=redis://redis:6379 APPFLOWY_HISTORY_DATABASE_URL=postgres://postgres:password@postgres:5432/postgres diff --git a/src/application.rs b/src/application.rs index 6e5114e6..69e093cb 100644 --- a/src/application.rs +++ b/src/application.rs @@ -249,7 +249,10 @@ pub async fn init_state(config: &Config, rt_cmd_tx: CLCommandSender) -> Result