Skip to content

Commit

Permalink
Raise pserve threads and semaphores
Browse files Browse the repository at this point in the history
  • Loading branch information
ppigazzini committed Jul 6, 2024
1 parent 2e96d3f commit 12981ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/fishtest/rundb.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ def calc_itp(self, run, count):
# It is very important that the following semaphore is initialized
# with a value strictly less than the number of Waitress threads.

task_semaphore = threading.Semaphore(2)
task_semaphore = threading.Semaphore(5)

def worker_cap(self, run, worker_info):
# Estimate how many games a worker will be able to run
Expand Down
2 changes: 1 addition & 1 deletion server/production.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ trusted_proxy_headers = x-forwarded-for x-forwarded-host x-forwarded-proto x-for
clear_untrusted_proxy_headers = yes

connection_limit = 100
threads = 4
threads = 10

###
# logging configuration
Expand Down

0 comments on commit 12981ff

Please sign in to comment.