Phillippko commented on code in PR #5549:
URL: https://github.com/apache/ignite-3/pull/5549#discussion_r2031228883


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -954,6 +982,8 @@ public CompletableFuture<Void> startAsync(ComponentContext 
componentContext) {
             transactionExpirationJobFuture = 
commonScheduler.scheduleAtFixedRate(this::expireTransactionsUpToNow,
                     EXPIRE_FREQ_MILLIS, EXPIRE_FREQ_MILLIS, MILLISECONDS);
 
+            lockRetryCount = (int) longProperty(systemCfg, 
LOCK_RETRY_COUNT_PROP, LOCK_RETRY_COUNT_PROP_DEFAULT_VALUE);

Review Comment:
   I don't like that it is parsed as long and casted to int



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to