rpuch commented on code in PR #5093:
URL: https://github.com/apache/ignite-3/pull/5093#discussion_r1935662716


##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -475,7 +483,7 @@ private ReadOnlyTransactionImpl beginReadOnlyTransaction(
     }
 
     private long roExpirationPhysicalTimeFor(HybridTimestamp beginTimestamp, 
InternalTxOptions options) {
-        long effectiveTimeoutMillis = options.timeoutMillis() == 0 ? 
defaultTransactionTimeoutMillis() : options.timeoutMillis();
+        long effectiveTimeoutMillis = options.timeoutMillis() == 0 ? 
defaultReadOnlyTransactionTimeoutMillis() : options.timeoutMillis();

Review Comment:
   I'm ok with this if this will not be forgotten :)



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