Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

optimize ws-health-exporter #636

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

BulatSaif
Copy link
Contributor

Issue: paritytech/helm-charts#330

When ws-health-exporter is used as a sidecar in Kubernetes, it adds a delay to the start and stop of the pod.

During startup, the node needs a couple of seconds to reach 10 peers. If we have 2 peers, it should be enough.

During shutdown, the container ignores the signal from Kubernetes, causing it to hang for another 30 seconds while the main container is dead.

Signed-off-by: BulatSaif <bulat@parity.io>
@BulatSaif BulatSaif requested a review from kogeler March 6, 2024 10:19
@BulatSaif BulatSaif self-assigned this Mar 6, 2024
@BulatSaif BulatSaif merged commit 9961136 into master Mar 6, 2024
4 checks passed
@BulatSaif BulatSaif deleted the bs/update-wshealthexporter branch March 6, 2024 10:50
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.

3 participants