bbende commented on a change in pull request #4003: NIFI-7051 Protect against
empty group membership in ShellUserGroupPro…
URL: https://github.com/apache/nifi/pull/4003#discussion_r369764175
##########
File path:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-shell-authorizer/src/main/java/org/apache/nifi/authorization/ShellUserGroupProvider.java
##########
@@ -272,7 +281,7 @@ public void onConfigured(AuthorizerConfigurationContext
configurationContext) th
}catch (final Throwable t) {
logger.error("", t);
}
- }, fixedDelay, fixedDelay, TimeUnit.SECONDS);
+ }, fixedDelay, fixedDelay, TimeUnit.MILLISECONDS);
Review comment:
The fixedDelay variable is being stored as milliseconds:
https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-shell-authorizer/src/main/java/org/apache/nifi/authorization/ShellUserGroupProvider.java#L322
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services