Mmuzaf commented on code in PR #2133:
URL: https://github.com/apache/cassandra/pull/2133#discussion_r1149865189


##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -1504,137 +1599,131 @@ public static void setRoleManager(IRoleManager 
roleManager)
 
     public static int getPermissionsValidity()
     {
-        return conf.permissions_validity.toMilliseconds();
+        return getProperty(DurationSpec.IntMillisecondsBound.class, 
ConfigFields.PERMISSIONS_VALIDITY).toMilliseconds();

Review Comment:
   Agree, let's move this and all such changes out of the scope. 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to