Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

[ConsulCache] Set retry threads as deamon #216

Merged
merged 1 commit into from
Feb 8, 2017
Merged

[ConsulCache] Set retry threads as deamon #216

merged 1 commit into from
Feb 8, 2017

Conversation

yfouquet
Copy link
Collaborator

@yfouquet yfouquet commented Feb 8, 2017

Currently in caches, retry threads are user threads.
Hence, if consul fails, the retry mechanism may prevent the application to
stop.
We add a thread factory in the executor service to make the retry threads
as deamon. This would prevent this issue.
see: Thread

Change-Id: I0343c46493d25ed0ab33bead3f8bc9dca57fcaec

Currently in caches, retry threads are user threads.
Hence, if consul fails, the retry mechanism may prevent the application to
stop.
We add a thread factory in the executor service to make the retry threads
as deamon. This would prevent this issue.

Change-Id: I0343c46493d25ed0ab33bead3f8bc9dca57fcaec
@rickfast rickfast merged commit f8b3961 into rickfast:master Feb 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants