Problem When using gunicorn with the gthread worker, and using multiple WebView2 browsers, our gunicorn instance ends up in a deadlock. The WebView2 browser (and maybe other browsers as well, but I have not tested those) can make specula...
gunicorn --worker-class gthread --max-requests 4 --threads 4 myapp:app With this config, we can reproduce a consistent connection reset with only five HTTP requests. [2023-07-21 15:59:17 +0000] [7] [DEBUG] Current configuration: config: ./gunicorn.conf.py wsgi_app: None bind: ['127...
""") try: from asyncio import selectors except ImportError: from gunicorn import selectors class TConn(object): def __init__(self, cfg, listener, sock, addr): self.cfg = cfg self.listener = listener self.sock = sock self.addr = addr self.timeout = None ...