lilcache/cache.py
def establish_connection():
    """
    This is a poor implementation.

    We should try to reuse connections (from the connection pool)
    """
    sock_path = STATE["sock_path"]
    if os.path.exists(sock_path):
        conn = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
        conn.connect(sock_path)
        return conn

    This is a poor implementation.

    We should try to reuse connections (from the connection pool)
    
This is a poor implementation.
We should try to reuse connections (from the connection pool)
This is a poor implementation . We should try to reuse connections ( from the connection pool )
def establish_connection():
    sock_path = STATE["sock_path"]
    if os.path.exists(sock_path):
        conn = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
        conn.connect(sock_path)
        return conn
def establish_connection ( ) : sock_path = STATE [ "sock_path" ] if os . path . exists ( sock_path ) : conn = socket . socket ( socket . AF_UNIX , socket . SOCK_STREAM ) conn . connect ( sock_path ) return conn
This is a poor implementation.
This is a poor implementation .
"""
    This is a poor implementation.

    We should try to reuse connections (from the connection pool)
    """