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

[Human App][Backend] Implement a temp fix for using TTL with cache manager #2671

Closed
Dzeranov opened this issue Oct 22, 2024 · 0 comments · Fixed by #2742
Closed

[Human App][Backend] Implement a temp fix for using TTL with cache manager #2671

Dzeranov opened this issue Oct 22, 2024 · 0 comments · Fixed by #2742
Assignees

Comments

@Dzeranov
Copy link
Contributor

Description
Fix all the places where we set values in Redis with TTL.

Motivation
At this point TTL doesn't work for some values in Redis

Implementation details
e.g.

await this.cacheManager.set(
        chainId,
        oraclesWithRetryData,
        this.configService.cacheTtlOracleDiscovery,
      );

=>

await this.cacheManager.set(
        chainId,
        oraclesWithRetryData,
        { ttl: this.configService.cacheTtlOracleDiscovery } as any,
      );
@Dzeranov Dzeranov moved this to Todo in Core-tech - 2024 Oct 22, 2024
@dnechay dnechay moved this from Todo to In Progress in Core-tech - 2024 Nov 1, 2024
@dnechay dnechay moved this from In Progress to In Review in Core-tech - 2024 Nov 1, 2024
@dnechay dnechay linked a pull request Nov 1, 2024 that will close this issue
2 tasks
@portuu3 portuu3 closed this as completed Nov 4, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Core-tech - 2024 Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants