Proper argparse and better logging system

This commit is contained in:
DevilXD committed 2021-12-16 19:06:59 +01:00
1 parent 2d63b24c8f
commit 39363a0aee
5 files changed
+84 -47

No files matched your search

-2
View File
@@ -1,6 +1,5 @@
from __future__ import annotations
import logging
from copy import copy
from datetime import timedelta
from typing import Any, Optional, Union, Dict, Callable
@@ -9,7 +8,6 @@ from typing import Any, Optional, Union, Dict, Callable
JsonType = Dict[str, Any]
TopicProcess = Callable[[JsonType], Any]
# Values
DEBUG_RAW = logging.DEBUG - 1
MAX_WEBSOCKETS = 8
WS_TOPICS_LIMIT = 50
# URLs