mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-09 15:19:54 +08:00
17 lines
479 B
Python
17 lines
479 B
Python
"""Chain 网络端口的生命周期入口。"""
|
|
|
|
from app.startup.composition.network import (
|
|
configure_chain_network_composition,
|
|
reset_chain_network_composition,
|
|
)
|
|
|
|
|
|
def init_chain_network_ports() -> None:
|
|
"""委托组合根装配 Chain 同步网络与系统端口。"""
|
|
configure_chain_network_composition()
|
|
|
|
|
|
def reset_chain_network_ports() -> None:
|
|
"""委托组合根释放 Chain 同步网络与系统端口。"""
|
|
reset_chain_network_composition()
|