Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #517 - TCP Support #540

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SHELL := /bin/bash

clean:
@cd docker; docker compose down

network-test:
@cd docker; docker compose up --build --detach
@echo "network test running"

logs:
@cd docker; docker compose logs --follow

bash:
@cd docker; docker compose exec ait-server bash
8 changes: 6 additions & 2 deletions ait/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
# laws and regulations. User has the responsibility to obtain export licenses,
# or other export authority as may be required before exporting such
# information to foreign countries or providing access to foreign persons.

import sys

from ait.core import cfg
from ait.core import log

# cfg isn't used but we want the AIT-level config attribute created
from ait.core import cfg, log # noqa


def deprecated(message):
Expand Down Expand Up @@ -45,3 +46,6 @@ def deprecated_func(*args, **kwargs):

sys.modules["ait"].SERVER_DEFAULT_XSUB_URL = "tcp://*:5559" # type: ignore[attr-defined]
sys.modules["ait"].SERVER_DEFAULT_XPUB_URL = "tcp://*:5560" # type: ignore[attr-defined]

sys.modules["ait"].MIN_PORT = 1024 # type: ignore[attr-defined]
sys.modules["ait"].MAX_PORT = 65535 # type: ignore[attr-defined]
Loading
Loading