From 079d873a6c33796a050b3338a65aabc001d9775a Mon Sep 17 00:00:00 2001 From: Khushal P Soonderji Date: Tue, 17 Feb 2026 15:35:59 +0530 Subject: [PATCH] (20260217) Ready to test on production now --- helpers/async_tcaoff.py | 3 --- scripts/common.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/helpers/async_tcaoff.py b/helpers/async_tcaoff.py index c47a65b..b7638c4 100644 --- a/helpers/async_tcaoff.py +++ b/helpers/async_tcaoff.py @@ -570,11 +570,8 @@ class AsyncTheCAOffice: if response.status_code not in [200]: try: response_json = response.json() - # print("TCAOFF Attendance-Mark:", json.to_string(response_json)) self._printer("TCAOFF Attendance-Mark", response_json) except Exception as e: - # print("TCAOFF Attendance-Mark:", e) - # print("TCAOFF Attendance-Mark:", response.content) self._printer("TCAOFF Attendance-Mark", e, response.content) print("Payload:", json.to_string(json_payload)) diff --git a/scripts/common.py b/scripts/common.py index 909828b..1893724 100644 --- a/scripts/common.py +++ b/scripts/common.py @@ -721,7 +721,7 @@ async def sync_attendance_to_tcaoff( yield lst[i:i + size] count = 0 - for chunk in chunks(tasks[:], size = 10): + for chunk in chunks(tasks[:], size = 25): count += 1 printer("Task Chunk:", count) _res = await asyncio.gather(*chunk)