I'm trying to configure my GAE and let it use a non-sync gunicorn worker which is the default.
I created a gunicorn.conf.py
import multiprocessing
workers = multiprocessing.cpu_count() * 2 + 1
threads = 3
worker_class = 'eventlet'
and my app.yaml is:
runtime: python
threadsafe: true
env: flex
entrypoint: gunicorn -b :$PORT main:app -c config/gunicorn.conf.py
runtime_config:
python_version: 2
requirements:
enum-compat==0.0.2
enum34==1.1.6
eventlet
greenlet
gevent
gunicorn==19.7.1
webob==1.7.2
Flask==0.12.1
When setting the worker class to eventlet or gthread and deploy the code to the server (gcloud app deploy)
at the very end of the deploy I get the following error:
raise RuntimeError('no suitable implementation for this system')
How can I properly change the worker class?