Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(backend): Disable health check for scheduler service from the api server

Zamil Majdy5e7b66da903a
diff --git a/autogpt_platform/backend/backend/server/routers/v1.py b/autogpt_platform/backend/backend/server/routers/v1.py
index efd43a5c2d..f3bdd49dba 100644
--- a/autogpt_platform/backend/backend/server/routers/v1.py
+++ b/autogpt_platform/backend/backend/server/routers/v1.py
@@ -84,7 +84,7 @@ if TYPE_CHECKING:
@thread_cached
def execution_scheduler_client() -> scheduler.SchedulerClient:
- return get_service_client(scheduler.SchedulerClient)
+ return get_service_client(scheduler.SchedulerClient, health_check=False)
@thread_cached