ThreadPoolExecutor = 1
This commit is contained in:
@@ -848,7 +848,7 @@ def Json_Team_Generation(who, data, stop_event):
|
||||
player_season_stat = []
|
||||
player_career_stat = []
|
||||
coach_stat = []
|
||||
with ThreadPoolExecutor() as pool:
|
||||
with ThreadPoolExecutor(max_workers=1) as pool:
|
||||
player_season_stat_temp = [
|
||||
pool.submit(Player_Stat_Season, player_id, data["season"])
|
||||
for player_id in player_ids
|
||||
|
||||
Reference in New Issue
Block a user