Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis key auth TTL reset #15

Open
asllop opened this issue Feb 8, 2024 · 0 comments
Open

Redis key auth TTL reset #15

asllop opened this issue Feb 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@asllop
Copy link
Contributor

asllop commented Feb 8, 2024

Description

When cache_enabled is used, the integration will cache the access token on Redis. It sets the key with a TTL of 2 days, but the key appears without TTL after being reused (TTL = -1).

Steps to Reproduce

Run the integration a couple of times and then check the TTL by connecting to redis and running the command ttl auth.

Expected Behavior

The auth key should have a TTL and expire after 2 days since the last time it was set.

@asllop asllop added the bug Something isn't working label Feb 8, 2024
@asllop asllop self-assigned this Feb 8, 2024
@asllop asllop removed their assignment Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant