belliottsmith commented on code in PR #106:
URL: https://github.com/apache/cassandra-accord/pull/106#discussion_r1693376081


##########
accord-core/src/test/java/accord/impl/basic/DelayedCommandStores.java:
##########
@@ -232,7 +235,7 @@ public <T> AsyncChain<T> submit(PreLoadContext context, 
Function<? super SafeCom
         public <T> AsyncChain<T> submit(Callable<T> fn)
         {
             Task<T> task = new DelayedTask<>(fn);
-            if (Invariants.isParanoid())
+            if (Invariants.paranoia() >= 3)

Review Comment:
   That’s totally fair - just thought this was a flexible and easy thing but 
fine with defining some descriptive enums like log levels



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