smiklosovic commented on code in PR #1853:
URL: https://github.com/apache/cassandra/pull/1853#discussion_r966830100


##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -171,7 +171,7 @@
     private static boolean daemonInitialized;
 
     private static final int searchConcurrencyFactor = 
Integer.parseInt(System.getProperty(Config.PROPERTY_PREFIX + 
"search_concurrency_factor", "1"));
-    private static DurationSpec.IntSecondsBound autoSnapshoTtl;
+    private static DurationSpec.IntSecondsBound autoSnapshotTtl = new 
DurationSpec.IntSecondsBound(0);

Review Comment:
   This is not null anymore, will be explained further.



##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -412,7 +412,7 @@ private static void applySimpleConfig()
         {
             try
             {
-                autoSnapshoTtl = new 
DurationSpec.IntSecondsBound(conf.auto_snapshot_ttl);
+                autoSnapshotTtl = new 
DurationSpec.IntSecondsBound(conf.auto_snapshot_ttl);

Review Comment:
   fixed typo.



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