arcolight commented on code in PR #7001:
URL: https://github.com/apache/ignite-3/pull/7001#discussion_r2538561901


##########
modules/platforms/cpp/ignite/odbc/sql_connection.cpp:
##########
@@ -802,4 +822,38 @@ void sql_connection::on_observable_timestamp(std::int64_t 
timestamp) {
     }
 }
 
+void sql_connection::send_heartbeat() {
+    network::data_buffer_owning response;
+    auto success = catch_errors([&] {
+        response = sync_request(protocol::client_operation::HEARTBEAT, 
[&](protocol::writer &) {});
+    });
+
+    UNUSED_VALUE(response);
+
+    if (success)
+        plan_heartbeat(m_heartbeat_interval);

Review Comment:
   Right, fixed



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