Update to Redis function for looking up id_random values.
This commit is contained in:
@@ -1123,7 +1123,7 @@ def redis_lookup_id_random(
|
||||
if record_id:
|
||||
# log.info('The record ID was found using the record_id_random value.')
|
||||
# r.setex(key_name, datetime.timedelta(minutes=1), value=record_id)
|
||||
log.info(f'Redis entry found. TTL for: {key_name} : {record_id} is {r.ttl(key_name)} seconds')
|
||||
log.info(f'Redis entry found. Key: "{key_name}" value="{record_id}" TTL={r.ttl(key_name)} seconds')
|
||||
|
||||
return int(record_id)
|
||||
elif table_name:
|
||||
|
||||
Reference in New Issue
Block a user