dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] rangtao edited a comment on issue #2435: Summary of several issues of graceful shutdown
Date Sat, 15 Sep 2018 08:39:42 GMT
rangtao edited a comment on issue #2435: Summary of several issues of graceful shutdown
URL: https://github.com/apache/incubator-dubbo/issues/2435#issuecomment-421541082
 
 
   确实我看到2.6.3版本有相关修改,基本和我描述思路一致,还有两个细节问题:
   1. 为什么通过ApplicationContextInitializer注册的方式,需要考虑web.xml加载问题,而且也不针对web项目吧。为什么不在类似于ApplicationConfig类中直接implements
ApplicaionListener,监听close事件,对于使用者来说不需要配置,更简单。
   2.在destroyAll方法中,之前版本为了注册中心通知延迟,故意sleep了一段时间,2.6.3版本删除了相关代码逻辑,请问是怎么考虑的?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Mime
View raw message