bigbird-0101 commented on issue #14727: URL: https://github.com/apache/dubbo/issues/14727#issuecomment-2381074353
> > I see previous version, it is also default value = true, but I understand the default value here should be false > > In Dubbo 2.7 or 3.0, there is no way to disable set future by default. In order to prevent memory leak in some scenarios, we support a way to disable it. this is old code: ```java private static final boolean setFutureWhenSync = Boolean.parseBoolean(System.getProperty(CommonConstants.SET_FUTURE_IN_SYNC_MODE, "true")); ``` Except code: ```java private static final boolean setFutureWhenSync = Boolean.parseBoolean(System.getProperty(CommonConstants.SET_FUTURE_IN_SYNC_MODE, "false")); ``` -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org