From ab0c4b07c6e29cb8891f4aa3dc9094e1c23a1224 Mon Sep 17 00:00:00 2001 From: retoor Date: Wed, 18 Dec 2024 04:20:09 +0100 Subject: [PATCH] Good working max performance settings. 500 concurrency easy. Silent. --- src/zamenyat/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zamenyat/app.py b/src/zamenyat/app.py index d763094..0657ee3 100644 --- a/src/zamenyat/app.py +++ b/src/zamenyat/app.py @@ -166,7 +166,7 @@ class Application: async def handle_client(self,reader,writer): self.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)