Skip to content

FEAT: DISPATCHER: embed tunnel server#85

Open
lukasz-glen wants to merge 8 commits intomainfrom
feat/tunnel-endpoint
Open

FEAT: DISPATCHER: embed tunnel server#85
lukasz-glen wants to merge 8 commits intomainfrom
feat/tunnel-endpoint

Conversation

@lukasz-glen
Copy link
Copy Markdown
Contributor

The point is that a part of eth endpoints in the web3proxy can be configured as connected via tunnel.
For that a new class of connection pool is developed: TunnelConnectionPool.
A web3pi tunnel, a server tunnel part, is used.

Closes #75

return self.connections.get_nowait()

def new_connection(self) -> EndpointConnection:
"""Internal function, do not call directly"""
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of naming it like that, please change the name to __new_connection or _new_connection to make it obvious that it's an internal function...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Embed the tunnel server in a connection pool [ON HOLD]

2 participants