I'm using the gevent.wsgi.WSGIServer to send requests to the backend( a
server that running redis-server). The "TIME_OUT" of redis's config is set
to 10 seconds, thus the connect would be closed by the redis-server when
the connection is idle for 10s. Inside the wsgiserver, i use redis-py to
genereate one instance.
The problem is that after the connection is closed by the redis-server, the
state of the socket becomes CLOSE_WAIT and the state never changes until
the wsgiserver is killed.
anyone meets similar problem and any help to fix the problem?