rename monitor_name kwarg to monitor

Matches the monitor_utils signature change.
This commit is contained in:
TPV committed 2026-09-25 19:02:09 -07:00
1 parent e89f5d8682
commit f5b3ce997f
1 file changed
+2 -2
+2 -2
View File
@@ -17,7 +17,7 @@ from monitor_utils.runner import (
from monitor_utils.sessions import send_request
from motor.motor_asyncio import AsyncIOMotorCollection
setup_monitor_logging(monitor_name="samsung_shop")
setup_monitor_logging(monitor="samsung_shop")
DEVELOPMENT_MODE = DevelopmentMode.PRODUCTION
LOGGER = logging.getLogger(__name__)
@@ -29,7 +29,7 @@ CATEGORY_SEMAPHORE = asyncio.Semaphore(CATEGORY_CONCURRENCY)
async def main():
"""Run the samsung shop monitor loop over all category ids on bounded cycles."""
category_paths, collection, proxies = await init_monitor(
monitor_name="samsung_shop", development_mode=DEVELOPMENT_MODE
monitor="samsung_shop", development_mode=DEVELOPMENT_MODE
)
while True:
await run_bounded_cycle(