pavlukhin commented on a change in pull request #6490: IGNITE-7285 Add default 
query timeout
URL: https://github.com/apache/ignite/pull/6490#discussion_r327574420
 
 

 ##########
 File path: 
modules/core/src/main/java/org/apache/ignite/cache/query/SqlFieldsQuery.java
 ##########
 @@ -66,7 +69,7 @@
     private boolean collocated;
 
     /** Query timeout in millis. */
-    private int timeout;
+    private int timeout = DFLT_QUERY_TIMEOUT;
 
 Review comment:
   Also we will have some limitations regarding default timeout usage for other 
platform clients and ODBC. For them it is impossible to realize if a default 
timeout should be used if current values is 0. We can add handling of `-1` for 
them in this PR (similarly to `ClientCacheSqlFieldsQueryRequest`). Changing 
platforms code can be done later.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to