added max-threads key in config

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2020-09-21 07:21:59 +00:00
parent 911423f879
commit c048f850c0
2 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,5 @@
{
"max-threads": 8,
"team": "",
"competition": "2020ilch",
"key":{

View File

@ -232,8 +232,6 @@ def load_match(apikey, competition):
def matchloop(apikey, competition, data, tests): # expects 3D array with [Team][Variable][Match]
start = time.time()
global exec_threads
def simplestats(data_test):
@ -305,8 +303,6 @@ def matchloop(apikey, competition, data, tests): # expects 3D array with [Team][
return_vector[team_filtered[i]][variable_filtered[i]][test_filtered[i]] = result
i += 1
print("metrics finished in " + str(time.time() - start))
push_match(apikey, competition, return_vector)
def load_metric(apikey, competition, match, group_name, metrics):