Browse Source

Merge pull request #1156 from TechEmpower/minor-concurrency-bug-fix

Minor concurrency bug fix
Mike Smith 10 years ago
parent
commit
dcfd025695
1 changed files with 2 additions and 0 deletions
  1. 2 0
      toolset/benchmark/benchmarker.py

+ 2 - 0
toolset/benchmark/benchmarker.py

@@ -937,8 +937,10 @@ class Benchmarker:
     else:
         args['types'] = { args['type'] : types[args['type']] }
     del args['type']
+    
 
     args['max_threads'] = args['threads']
+    args['max_concurrency'] = str(max(args['concurrency_levels']))
 
     self.__dict__.update(args)
     # pprint(self.__dict__)