[
https://issues.apache.org/jira/browse/YUNIKORN-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Bacsko updated YUNIKORN-2409:
-----------------------------------
Description:
Various parts of the app history tracking can be improved/cleaned up:
# event_streaming.go: removed unused variable "count"
# ring buffer: unnecessary rlock/runlock in unexported method
{{getEventsFromID()}}
# REST handler {{getStream()}} function: use deferred call to
{{eventSystem.RemoveStream()}}
# application_events.go: limiter is no longer used
was:
Various parts of the app history tracking can be improved/cleaned up:
# event_streaming.go: removed unused variable "count"
# ring buffer: unnecessary rlock/runlock in unexported method
{{getEventsFromID()}}
# REST handler {{getStream()}} function: use deferred call to close the stream
# StreamingLimiter: logger type is not {{log.SchedHealth}}
# application_events.go: limiter is no longer used
> History tracking misc code cleanup
> ----------------------------------
>
> Key: YUNIKORN-2409
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2409
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
>
> Various parts of the app history tracking can be improved/cleaned up:
> # event_streaming.go: removed unused variable "count"
> # ring buffer: unnecessary rlock/runlock in unexported method
> {{getEventsFromID()}}
> # REST handler {{getStream()}} function: use deferred call to
> {{eventSystem.RemoveStream()}}
> # application_events.go: limiter is no longer used
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]