Skip to content

Commit

Permalink
update token_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LimeDrive committed Aug 1, 2024
1 parent b1d5eb8 commit f3dbfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream_fusion/services/rd_conn/token_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def new_access_token(self):

data = response.json()
self.logger.info("New access token received successfully")
self.redis.setex(self.token_key, 300, data["access_token"])
self.redis.setex(self.token_key, 43200, data["access_token"])
self.logger.debug(
f"Access token stored in Redis with expiry: {data['expires_in']} seconds"
)
Expand Down

0 comments on commit f3dbfa9

Please sign in to comment.