diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-20 11:01:40 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-20 11:01:40 +1200 |
commit | b7062007965ebd8c11e94bd28775ac6d6083eedf (patch) | |
tree | a565b571be1c218aac3ab01e9ee2481e5e4eda9a /netlib/tcp.py | |
parent | 084be7684d5cb367d4b8995dbf01f177af6113bf (diff) | |
download | mitmproxy-b7062007965ebd8c11e94bd28775ac6d6083eedf.tar.gz mitmproxy-b7062007965ebd8c11e94bd28775ac6d6083eedf.tar.bz2 mitmproxy-b7062007965ebd8c11e94bd28775ac6d6083eedf.zip |
Drop default poll interval to 0.1s.
Diffstat (limited to 'netlib/tcp.py')
-rw-r--r-- | netlib/tcp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py index 92a7e92f..5a942522 100644 --- a/netlib/tcp.py +++ b/netlib/tcp.py @@ -131,7 +131,7 @@ class TCPServer: self.handle_error(request, client_address) request.close() - def serve_forever(self, poll_interval=0.5): + def serve_forever(self, poll_interval=0.1): self.__is_shut_down.clear() try: while not self.__shutdown_request: |