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

Sergio Peña updated SENTRY-1691:
--------------------------------
    Fix Version/s: sentry-ha-redesign

> TransactionManager should use try-with-resource for timers
> ----------------------------------------------------------
>
>                 Key: SENTRY-1691
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1691
>             Project: Sentry
>          Issue Type: Improvement
>          Components: Sentry
>    Affects Versions: 1.8.0, sentry-ha-redesign
>            Reporter: Alexander Kolbasov
>            Assignee: Sergio Peña
>            Priority: Minor
>              Labels: bite-sized, newbie
>             Fix For: sentry-ha-redesign
>
>         Attachments: SENTRY-1691.1-sentry-ha-redesign.patch
>
>
> There are a few places in TransactionManager where it creates a timer context 
> and closes it explicitly in the finally block. Instead we should use 
> try-with-resource to close it. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to