This commit is contained in:
doms9 2025-09-08 12:02:36 -04:00
parent 00000d90bc
commit 00000d9c6a
3 changed files with 25 additions and 16 deletions

View file

@ -2,6 +2,7 @@ import asyncio
import json
import logging
import re
from collections.abc import Callable
from datetime import datetime
from pathlib import Path
from typing import Any
@ -103,9 +104,9 @@ def load_cache(
async def safe_process_event(
fn,
fn: Callable,
url_num: int,
timeout=20,
timeout: int | float = 20,
log: logging.Logger | None = None,
) -> Any | None: