新增实时数据采集脚本
This commit is contained in:
parent
d471e27fa0
commit
8f695fe463
@ -26,7 +26,7 @@ def get_event():
|
|||||||
|
|
||||||
def run_tasks():
|
def run_tasks():
|
||||||
# args = get_event()
|
# args = get_event()
|
||||||
args = [].append('1004')
|
args = ((1004, 6001, 'user'), (1016, 6001, 'share'))
|
||||||
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