Good working max performance settings. 500 concurrency easy. Silent.

This commit is contained in:
retoor 2024-12-18 04:20:09 +01:00
parent 5e4db9dac3
commit ab0c4b07c6

View File

@ -166,7 +166,7 @@ class Application:
async def handle_client(self,reader,writer): async def handle_client(self,reader,writer):
self.connection_count += 1 self.connection_count += 1
self.total_connection_count += 1 self.total_connection_count += 1
connection_nr = self.connection_count connection_nr = self.total_connection_count
upstream_reader, upstream_writer = await asyncio.open_connection(self.upstream_host, self.upstream_port) upstream_reader, upstream_writer = await asyncio.open_connection(self.upstream_host, self.upstream_port)