Earlier I was using Waitress. Now I\'m using Gevent to run my Flask app that has only one API
from flask import Flask, request, jsonify import documentUtil fr
Not sure, however I think adding thread param in server object can solve the problem.
http_server = WSGIServer(('127.0.0.1', 8000), app, numthreads=50)
source: https://f.gallai.re/wsgiserver