编排修改

This commit is contained in:
shenjian@fangjia.com
2023-03-09 15:01:20 +08:00
parent c9e802da90
commit 44cee71ce3
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ def sync(city=None):
seaweed_df.loc[index, 'avg_cost'] = price
else:
seaweed_df.loc[index, 'avg_cost'] = None
with ThreadPoolExecutor(max_workers=20) as pool:
with ThreadPoolExecutor(max_workers=30) as pool:
for index, item in seaweed_df.iterrows():
pool.submit(find_around_price_item, index, item)
# for index, item in seaweed_df.iterrows():