Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PAN-2424] Fix exceptions fetching metrics after world state download completes #1066

Merged
merged 2 commits into from
Mar 7, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Mar 7, 2019

PR description

When the world state download completes it closes the task queue, however the world_state_pending_requests_current metric still needs to report the queue size which results in an exception.

Fix is to return 0 from size after the queue is closed.

@ajsutton ajsutton merged commit e240f21 into PegaSysEng:master Mar 7, 2019
@ajsutton ajsutton deleted the queue-metrics branch March 7, 2019 20:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants