2021-05-28 11:52:40 +02:00
|
|
|
import os
|
2016-07-07 14:23:59 +02:00
|
|
|
from multiprocessing import cpu_count
|
|
|
|
|
2021-05-28 11:52:40 +02:00
|
|
|
bind = "0.0.0.0:{}".format(os.environ.get("SERVER_PORT", "80"))
|
2020-08-07 13:32:18 +02:00
|
|
|
workers = cpu_count() * 2
|
|
|
|
threads = cpu_count() * 2
|