You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2024/02/12 22:38:00 UTC

[jira] [Resolved] (YUNIKORN-2409) History tracking misc code cleanup

     [ https://issues.apache.org/jira/browse/YUNIKORN-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Bacsko resolved YUNIKORN-2409.
------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Fixed

> 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
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> 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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org