bug: re-add missing socket check during scan.

This commit is contained in:
Upstream Data
2023-11-29 20:45:25 -07:00
parent fbd73881d4
commit 952b660c05

View File

@@ -480,7 +480,7 @@ class MinerFactory:
async def _get_miner_type(self, ip: str):
tasks = [
asyncio.create_task(self._get_miner_web(ip)),
# asyncio.create_task(self._get_miner_socket(ip)),
asyncio.create_task(self._get_miner_socket(ip)),
]
return await concurrent_get_first_result(tasks, lambda x: x is not None)