You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Tamas Palfy (Jira)" <ji...@apache.org> on 2022/03/16 18:33:00 UTC

[jira] [Updated] (NIFI-9801) AccessToken isExpired fixed incorrectly

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

Tamas Palfy updated NIFI-9801:
------------------------------
    Description: 
Fix for https://issues.apache.org/jira/browse/NIFI-9797 made possible to consider a token valid while expired.

The idea behind the margin is to renew the ticket way before the last possible second. To leave us some room - a margin of error so to speak.

The aforementioned fix adds 5 extra seconds when we consider the ticket not expired - even when it has.
In case of a busy processor this can lead to an unnecessary failure.

  was:Fix for https://issues.apache.org/jira/browse/NIFI-9797 made possible to consider a token valid while expired.


> AccessToken isExpired fixed incorrectly
> ---------------------------------------
>
>                 Key: NIFI-9801
>                 URL: https://issues.apache.org/jira/browse/NIFI-9801
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Tamas Palfy
>            Assignee: Tamas Palfy
>            Priority: Major
>
> Fix for https://issues.apache.org/jira/browse/NIFI-9797 made possible to consider a token valid while expired.
> The idea behind the margin is to renew the ticket way before the last possible second. To leave us some room - a margin of error so to speak.
> The aforementioned fix adds 5 extra seconds when we consider the ticket not expired - even when it has.
> In case of a busy processor this can lead to an unnecessary failure.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)