minor
This commit is contained in:
parent
0d173b8b03
commit
aa8130ee78
@ -356,13 +356,14 @@ def simulate_craw_and_calendar(thread, nSimulations):
|
||||
|
||||
|
||||
n = sys.maxsize
|
||||
n = 2500
|
||||
# n = 2500
|
||||
|
||||
pool = Pool()
|
||||
result = {}
|
||||
answer = {}
|
||||
threads = cpu_count()
|
||||
threads = 2
|
||||
threads -= 2
|
||||
# threads = 2
|
||||
|
||||
for cpu in range(threads):
|
||||
result[cpu] = pool.apply_async(simulate_craw_and_calendar, args=(f'thread_{cpu}', n,))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user