from multiprocessing import cpu_count bind = '0.0.0.0:8000' workers = cpu_count() * 2 threads = cpu_count() * 2