lancelly commented on code in PR #11569:
URL: https://github.com/apache/iotdb/pull/11569#discussion_r1398410048


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/OperatorContext.java:
##########
@@ -90,8 +96,8 @@ public Duration getMaxRunTime() {
     return maxRunTime;
   }
 
-  public void setMaxRunTime(Duration maxRunTime) {
-    this.maxRunTime = maxRunTime;
+  public static void setMaxRunTime(Duration maxRunTime) {
+    OperatorContext.maxRunTime = maxRunTime;

Review Comment:
   If I'm not mistaken, changing the time slice length without restarting 
should be done through calling a Session interface or executing a SQL . 
However, setting OperatorMaxRuntime doesn't seem to work, and it seems that 
what should be changed is the value in the Config, right?



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