added settings.py file for managing retries and "threads", as well as fixing some bugs in the APIs

This commit is contained in:
UpstreamData
2021-12-21 11:57:34 -07:00
parent 43af332199
commit df6858d718
8 changed files with 40 additions and 23 deletions

7
settings.py Normal file
View File

@@ -0,0 +1,7 @@
NETWORK_PING_RETRIES: int = 3
NETWORK_PING_TIMEOUT: int = 5
NETWORK_SCAN_THREADS: int = 100
CFG_UTIL_GET_VERSION_THREADS: int = 100
MINER_FACTORY_GET_VERSION_RETRIES: int = 3