新增实时数据采集脚本
This commit is contained in:
parent
c272496904
commit
d471e27fa0
@ -26,7 +26,7 @@ def get_event():
|
|||||||
|
|
||||||
def run_tasks():
|
def run_tasks():
|
||||||
# args = get_event()
|
# args = get_event()
|
||||||
args = [1004, ]
|
args = [].append('1004')
|
||||||
pool = Pool(processes=cpu_count())
|
pool = Pool(processes=cpu_count())
|
||||||
pool.map(simple_work, args)
|
pool.map(simple_work, args)
|
||||||
pool.close()
|
pool.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user