fix: add_startup 传函数引用(非协程对象)
This commit is contained in:
parent
4c0b349718
commit
0bd9609532
@ -457,7 +457,7 @@ def load_pipeline_service():
|
|||||||
await asyncio.sleep(10)
|
await asyncio.sleep(10)
|
||||||
|
|
||||||
from ahserver.configuredServer import add_startup
|
from ahserver.configuredServer import add_startup
|
||||||
add_startup(_role_poller())
|
add_startup(_role_poller)
|
||||||
|
|
||||||
debug(f"[{MODULE_NAME}] v{MODULE_VERSION} loaded — pipeline engine with role-agent + question loop")
|
debug(f"[{MODULE_NAME}] v{MODULE_VERSION} loaded — pipeline engine with role-agent + question loop")
|
||||||
return True
|
return True
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user