added alerts collection dsql suggested

This commit is contained in:
TPV committed 2026-07-07 09:17:38 -07:00
1 parent 9e2ede16b1
commit 7e44a5cdb2
2 files changed
+76 -24

No files matched your search

+4 -1
View File
@@ -351,8 +351,11 @@ async def execute_pagination(
per monitor.
"""
LOGGER.info("executing pagination", extra={"category": category_identifier})
total_pages = (int(total_products) + products_per_page - 1) // products_per_page
LOGGER.info(
"executing pagination",
extra={"category": category_identifier, "total": total_pages},
)
semaphore = asyncio.Semaphore(max_concurrent_tasks)
stop_event = asyncio.Event()
pagination_label = "offset" if pagination_mode == "offset" else "page"