From c9ee59b477424056e9e4fa23c4a009c2cc6d66ea Mon Sep 17 00:00:00 2001 From: raileo98 <164594063+raileo98@users.noreply.github.com> Date: Sat, 19 Oct 2024 06:31:36 +0000 Subject: [PATCH] Update rthk.py --- code/rthk.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/rthk.py b/code/rthk.py index e620f4631..30f95f1ce 100644 --- a/code/rthk.py +++ b/code/rthk.py @@ -487,8 +487,9 @@ async def optimize_image_quality(imgUrl): return latest_imgUrl async def get_response(url, timeout=10, mustFetch=True, method='GET', session=session): - global total_requests, cache_hits - global verCount11, verCount20, verCount30 + # global total_requests, cache_hits + # global verCount11, verCount20, verCount30 + global total_requests, cache_hits, verCount11, verCount20, verCount30 total_requests += 1 while True: try: