jjyang77 commited on
Commit
31f0a2c
1 Parent(s): 9184913
Files changed (1) hide show
  1. api/app.py +1 -1
api/app.py CHANGED
@@ -45,7 +45,7 @@ def create_app() -> FastAPI:
45
  Evaluate the correctness of the solutions in the given samples data.
46
  """
47
  if parallel < 1:
48
- n_workers = min(4, multiprocessing.cpu_count() // 2)
49
  if n_workers < 1:
50
  n_workers = 1
51
 
 
45
  Evaluate the correctness of the solutions in the given samples data.
46
  """
47
  if parallel < 1:
48
+ n_workers = min(2, multiprocessing.cpu_count() // 2)
49
  if n_workers < 1:
50
  n_workers = 1
51