JackieTien97 commented on code in PR #11569:
URL: https://github.com/apache/iotdb/pull/11569#discussion_r1398541392
##########
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:
Yes, but in current situation, each operator's max run time is got from
OperatorContext. And calling a Session interface or executing a SQL is to
change the value in OperatorContext.
--
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]