Feat/optimize entity construct (#1935)
This commit is contained in:
parent
2cfd5568e1
commit
af7be9bdd7
2 changed files with 9 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ class ProviderCredentialsCache:
|
|||
:param credentials: provider credentials
|
||||
:return:
|
||||
"""
|
||||
redis_client.setex(self.cache_key, 3600, json.dumps(credentials))
|
||||
redis_client.setex(self.cache_key, 86400, json.dumps(credentials))
|
||||
|
||||
def delete(self) -> None:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue