Bug/minor fixes (#762)

* Set web concurrency to 1

* bump versions

* update release notes

Co-authored-by: Hayden <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-10-30 12:13:54 -08:00
committed by GitHub
parent b6d43e8e3d
commit de5bea6f73
9 changed files with 18109 additions and 27 deletions

View File

@@ -21,8 +21,8 @@ class GunicornConfig:
self.timeout = int(os.getenv("TIMEOUT", "120"))
self.keepalive = int(os.getenv("KEEP_ALIVE", "5"))
self.workers_per_core = float(os.getenv("WORKERS_PER_CORE", "1"))
self.web_concurrency_str: str = os.getenv("WEB_CONCURRENCY", None)
self.max_workers_str: str = os.getenv("MAX_WORKERS", None)
self.web_concurrency_str: str = os.getenv("WEB_CONCURRENCY", "1")
self.max_workers_str: str = os.getenv("MAX_WORKERS", "1")
# Computed Variables
self.cores = multiprocessing.cpu_count()