Less debug for Redis checks
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user