we are back to 0.15 now; should be clean... ;)
This commit is contained in:
parent
34e73a56f2
commit
0e10c20e31
1 changed files with 1 additions and 7 deletions
|
|
@ -29,8 +29,6 @@ import logging.handlers
|
||||||
import os
|
import os
|
||||||
import os.path as path
|
import os.path as path
|
||||||
import sys
|
import sys
|
||||||
import multiprocessing
|
|
||||||
from multiprocessing import Pool
|
|
||||||
|
|
||||||
from linspector.config.parser import FullConfigParser
|
from linspector.config.parser import FullConfigParser
|
||||||
from linspector.core.interface import LinspectorInterface
|
from linspector.core.interface import LinspectorInterface
|
||||||
|
|
@ -91,12 +89,8 @@ def parse_args():
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
pool = Pool(processes=16)
|
|
||||||
print 'cpu_count() = %d\n' % multiprocessing.cpu_count()
|
|
||||||
|
|
||||||
|
|
||||||
def handle_job(job):
|
def handle_job(job):
|
||||||
result = pool.apply_async(job.handle_call())
|
job.handle_call()
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue