修复中控
This commit is contained in:
@@ -795,7 +795,11 @@ async def api_trade_removed_get(exchange_id: str, preview_id: str = ""):
|
||||
def main():
|
||||
import uvicorn
|
||||
|
||||
uvicorn.run(app, host=HUB_HOST, port=HUB_PORT, log_level="warning", access_log=False)
|
||||
print(
|
||||
f"manual-trading-hub start build={HUB_BUILD} listen={HUB_HOST}:{HUB_PORT}",
|
||||
flush=True,
|
||||
)
|
||||
uvicorn.run(app, host=HUB_HOST, port=HUB_PORT, log_level="info", access_log=False)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -24,4 +24,5 @@ if [[ -f "${HUB_DIR}/.env" ]]; then
|
||||
}
|
||||
fi
|
||||
|
||||
exec "${VENV_PY}" "${HUB_DIR}/hub.py"
|
||||
echo "run_hub: python=${VENV_PY} cwd=${HUB_DIR} PYTHONPATH=${PYTHONPATH}" >&2
|
||||
exec "${VENV_PY}" -u "${HUB_DIR}/hub.py"
|
||||
|
||||
Reference in New Issue
Block a user