mosermw commented on PR #9664:
URL: https://github.com/apache/nifi/pull/9664#issuecomment-2616694815

   Thanks for taking a look at this @markobean.  You have a good point about 
using TimeUnit.SECONDS here.  I looked through the framework code and found 
that it normalizes FlowFile Expiration to MILLISECONDS.  
https://github.com/apache/nifi/blob/main/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/queue/AbstractFlowFileQueue.java#L104
   
   I will make the change to use MILLISECONDS in the RestrictFlowFileExpiration 
rule, because this feels like the approach that makes the most sense.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to