mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-21 19:03:08 +00:00
6 lines
165 B
Python
6 lines
165 B
Python
import os
|
|
from multiprocessing import cpu_count
|
|
|
|
bind = "0.0.0.0:{}".format(os.environ.get("SERVER_PORT", "80"))
|
|
workers = cpu_count() * 2
|
|
threads = cpu_count() * 2
|