reformatted, added a bunch of comments to improve readability, and added a whatsminer admin password in settings

This commit is contained in:
UpstreamData
2022-01-12 09:04:15 -07:00
parent 574432ec0d
commit cdc6c898ae
7 changed files with 187 additions and 10 deletions

View File

@@ -12,6 +12,8 @@ try:
CFG_UTIL_CONFIG_THREADS: int = settings["config_threads"]
MINER_FACTORY_GET_VERSION_RETRIES: int = settings["get_version_retries"]
WHATSMINER_PWD: str = settings["whatsminer_pwd"]
except:
NETWORK_PING_RETRIES: int = 3
NETWORK_PING_TIMEOUT: int = 5
@@ -21,3 +23,5 @@ except:
CFG_UTIL_CONFIG_THREADS: int = 300
MINER_FACTORY_GET_VERSION_RETRIES: int = 3
WHATSMINER_PWD = "admin"

View File

@@ -3,4 +3,6 @@ ping_retries = 3
ping_timeout = 5
scan_threads = 300
config_threads = 300
reboot_threads = 300
reboot_threads = 300
whatsminer_pwd = "admin"