ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] pavlukhin commented on a change in pull request #6490: IGNITE-7285 Add default query timeout
Date Wed, 01 May 2019 05:53:00 GMT
pavlukhin commented on a change in pull request #6490: IGNITE-7285 Add default query timeout
URL: https://github.com/apache/ignite/pull/6490#discussion_r280009533
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/configuration/IgniteConfiguration.java
 ##########
 @@ -1032,6 +1039,29 @@ public IgniteConfiguration setSqlQueryHistorySize(int size) {
         return this;
     }
 
+    /**
+     * Defines the default query timeout.
+     *
+     * Defaults to {@link #DFLT_QRY_TIMEOUT}.
+     *
+     * @return Default query timeout.
+     */
+    public long getDfltQryTimeout() {
+        return dfltQryTimeout;
+    }
+
+    /**
+     * Sets timeout in milliseconds for default query timeout.
 
 Review comment:
   It is good to mention that value 0 means that there is no timeout.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message