You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Sergio Peña (JIRA)" <ji...@apache.org> on 2017/07/10 15:03:00 UTC
[jira] [Updated] (SENTRY-1691) TransactionManager should use
try-with-resource for timers
[ 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)