Feat/optimize entity construct (#1935)

This commit is contained in:
takatost 2024-01-05 09:43:41 +08:00 • committed by GitHub
commit af7be9bdd7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -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:
"""