Commit e15117eb authored by Nane Kratzke's avatar Nane Kratzke
Browse files

n=3

parent b94caeb1
......@@ -48,7 +48,7 @@ def space():
}
with tracer.start_span(operation_name="parallel", child_of=parent_span) as span:
results = Parallel()(delayed(load_url)(key, url) for key, url in queries.items())
results = Parallel(n_jobs=3)(delayed(load_url)(key, url) for key, url in queries.items())
result = { key: content for key, content in results }
#for key, url in queries.items():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment