Erixonich commented on code in PR #7080:
URL: https://github.com/apache/ignite-3/pull/7080#discussion_r2565740077


##########
modules/platforms/cpp/ignite/client/detail/node_connection.h:
##########
@@ -119,9 +139,14 @@ class node_connection : public 
std::enable_shared_from_this<node_connection> {
             buffer.write_length_header();
         }
 
+        std::optional<std::chrono::time_point<std::chrono::steady_clock>> 
timeout{};
+        if (m_configuration.get_operation_timeout().count() > 0) {
+            timeout = std::chrono::steady_clock::now() + 
m_configuration.get_operation_timeout();

Review Comment:
   In java client there is an optimization for calling analog of ::now(). I am 
not aware of performance of this method. Should we research if similiar 
optimisation is required?



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

Reply via email to