Web Interface slow when Livestatus TLS Encrypt. enabled in distributed monitoring

Hi,
If you have livestatus connection problems when using TLS and no liveproxyd in between, you can set the poll timeout to a lower value in the following file.

--- a/lib/python3/livestatus.py
+++ b/lib/python3/livestatus.py
@@ -531,7 +531,7 @@ class SingleSiteConnection(Helpers):
         receive_start = time.time()
 
         while size > 0:
-            readylist = self._socket_poller.poll(1000)
+            readylist = self._socket_poller.poll(10)
             if readylist or (isinstance(self.socket, ssl.SSLSocket) and self.socket.pending()):
                 packet = self.socket.recv(size)
                 if not packet:

SSL sockets + select/poll => Tons of fun…

Regards
Andreas