thenatog commented on code in PR #6558:
URL: https://github.com/apache/nifi/pull/6558#discussion_r1002075729
##########
nifi-stateless/nifi-stateless-bundle/nifi-stateless-engine/src/main/java/org/apache/nifi/stateless/queue/StatelessFlowFileQueue.java:
##########
@@ -283,8 +283,8 @@ public String getFlowFileExpiration() {
}
@Override
- public int getFlowFileExpiration(final TimeUnit timeUnit) {
- return (int) timeUnit.convert(expirationMillis, TimeUnit.MILLISECONDS);
+ public long getFlowFileExpiration(final TimeUnit timeUnit) {
+ return timeUnit.convert(expirationMillis, TimeUnit.MILLISECONDS);
Review Comment:
I believe a change also needs to be made to _public void
setFlowFileExpiration(final String flowExpirationPeriod)_, as the value on line
292 is still being cast to int.
--
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]