File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/agentex/lib/core/temporal/workers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def __init__(
112112 task_queue ,
113113 max_workers : int = 10 ,
114114 max_concurrent_activities : int = 10 ,
115- health_check_port : int = int ( os . environ . get ( "HEALTH_CHECK_PORT" )) ,
115+ health_check_port : int | None = None ,
116116 plugins : list = [],
117117 ):
118118 self .task_queue = task_queue
@@ -121,7 +121,7 @@ def __init__(
121121 self .max_concurrent_activities = max_concurrent_activities
122122 self .health_check_server_running = False
123123 self .healthy = False
124- self .health_check_port = health_check_port
124+ self .health_check_port = health_check_port if health_check_port is not None else EnvironmentVariables . refresh (). HEALTH_CHECK_PORT
125125 self .plugins = plugins
126126
127127 @overload
You can’t perform that action at this time.
0 commit comments