With gunicorn I find it convenient to create a gunicorn.conf.py file which contains all the settings needed to run my app (the module/factory for the application, see #229). That way, I can run my app by simply launching gunicorn, which will load all the necessary settings from gunicorn.conf.py.
With hypercorn, there doesn't seem to be a default for the config file, so I always have to run hypercorn -c hypercorn.toml which is less convenient to type. It would nice if hypercorn defaulted to reading hypercorn.toml out of the current directory if it exists.
With gunicorn I find it convenient to create a
gunicorn.conf.py
file which contains all the settings needed to run my app (the module/factory for the application, see #229). That way, I can run my app by simply launchinggunicorn
, which will load all the necessary settings fromgunicorn.conf.py
.With hypercorn, there doesn't seem to be a default for the config file, so I always have to run
hypercorn -c hypercorn.toml
which is less convenient to type. It would nice if hypercorn defaulted to readinghypercorn.toml
out of the current directory if it exists.