Less debug for Redis checks

This commit is contained in:
Scott Idem
2025-01-08 12:32:23 -05:00
parent 42175b89c0
commit 8678e33ec2

View File

@@ -1287,7 +1287,7 @@ def redis_lookup_id_random(
record_id_random: int|str, record_id_random: int|str,
table_name: str, table_name: str,
check_int_id: bool = False, check_int_id: bool = False,
log_lvl: int = logging.INFO, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL log_lvl: int = logging.WARNING, # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
minutes: int = 30, # Expire the Redis key after 8 minutes minutes: int = 30, # Expire the Redis key after 8 minutes
reset_rate: int = 10, # 1 in 10 chance of resetting the Redis key reset_rate: int = 10, # 1 in 10 chance of resetting the Redis key
) -> str|int|bool|None: ) -> str|int|bool|None: