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

FEATURE: Add overriden method "shutdown(long, TimeUnit)" to ArcusClient. #697

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

uhm0311
Copy link
Collaborator

@uhm0311 uhm0311 commented Dec 8, 2023

네트워크 지연이 있는 상태에서, ArcusClint 객체의 Operation Queue에 많은 Operation이 쌓여 있는 경우, 기존의 ArcusClient.shutdown()을 수행하면 반드시 2초(SHUTDOWN_TIMEOUT_MILLISECONDS)를 기다려야 합니다.
ArcusClient의 부모 클래스인 MemcachedClient 클래스의 shutdown(long, TimeUnit)을 통해 기다리는 시간을 조절할 수 있으나, CacheManager.shutdown()를 수행할 수 없다는 문제가 있습니다.
따라서 ArcusClient.shutdown(long, TimeUnit)을 추가하여 기다리는 시간도 조절하고, CacheManager.shutdown()도 수행할 수 있도록 했습니다.

@jhpark816 jhpark816 merged commit bb72ff1 into naver:develop Dec 8, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants