新增格子
This commit is contained in:
@@ -136,7 +136,7 @@ def sync(city=None):
|
|||||||
seaweed_list = list()
|
seaweed_list = list()
|
||||||
seaweed_df.apply(lambda x: seaweed_list.append(dict(x)), axis=1)
|
seaweed_df.apply(lambda x: seaweed_list.append(dict(x)), axis=1)
|
||||||
|
|
||||||
with ThreadPoolExecutor(max_workers=50) as pool:
|
with ThreadPoolExecutor(max_workers=30) as pool:
|
||||||
for seaweed in seaweed_list:
|
for seaweed in seaweed_list:
|
||||||
pool.submit(find_around_price_item, seaweed)
|
pool.submit(find_around_price_item, seaweed)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user