dcapwell commented on code in PR #103:
URL: https://github.com/apache/cassandra-accord/pull/103#discussion_r1777741605


##########
accord-core/src/main/java/accord/utils/Invariants.java:
##########
@@ -38,9 +38,12 @@ public enum ParanoiaCostFactor
         LOW, HIGH
     }
 
-    private static final int PARANOIA_COMPUTE = 
Paranoia.valueOf(System.getProperty("accord.paranoia.cpu", 
"NONE").toUpperCase()).ordinal();
-    private static final int PARANOIA_MEMORY = 
Paranoia.valueOf(System.getProperty("accord.paranoia.memory", 
"NONE").toUpperCase()).ordinal();
-    private static final int PARANOIA_FACTOR = 
ParanoiaCostFactor.valueOf(System.getProperty("accord.paranoia.costfactor", 
"LOW").toUpperCase()).ordinal();
+    public static final String KEY_PARANOIA_CPU = "accord.paranoia.cpu";

Review Comment:
   in C* I put these into `CassandraRelativeProperties` so check styles doesn't 
yell at us



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