SIENTIAPDE-1151
Update Redis set method to use a TTL of 5 hours for improved data retention.
This commit is contained in:
@@ -75,7 +75,7 @@ class Redis(RedisBase):
|
||||
)
|
||||
|
||||
try:
|
||||
self.set(key, last_data_timestamp, ttl=None)
|
||||
self.set(key, last_data_timestamp, ttl=60*60*5)
|
||||
except Exception as e:
|
||||
self.send_notification(
|
||||
metadata=metadata,
|
||||
|
||||
Reference in New Issue
Block a user