参数调优

This commit is contained in:
shmilylty
2019-08-11 15:53:49 +08:00
parent f426b8f2f6
commit 4bb52f4183
6 changed files with 22 additions and 20 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ async def bulk_query_a(datas):
"""
logger.log('INFOR', '正在异步查询子域的A记录')
tasks = []
semaphore = asyncio.Semaphore(utils.get_semaphore())
semaphore = asyncio.Semaphore(config.limit_resolve_conn)
for i, data in enumerate(datas):
if not data.get('ips'):
subdomain = data.get('subdomain')