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

Interface for Redis and LRU cache (ICacheClient) has void return types instead of Promise<void> #2387

Open
konstantinabl opened this issue Apr 23, 2024 · 0 comments · May be fixed by #2410
Open
Assignees
Labels
bug Something isn't working limechain

Comments

@konstantinabl
Copy link
Collaborator

Description

Currently, both RedisCache and LRU cache implement the ICacheClient interface, which has return type void on all its methods, although the RedisCache has asynchronous methods. The interface has to be adjusted as well as the LRU cache, which will have to return Promises as well, since it makes sense for both classes to be aligned.

Steps to reproduce

Open ICacheClient.ts

Additional context

No response

Hedera network

other

Version

v0.46.0

Operating system

None

@konstantinabl konstantinabl added the bug Something isn't working label Apr 23, 2024
@konstantinabl konstantinabl self-assigned this Apr 23, 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 limechain
Projects
Status: Tasks In Progress
1 participant