You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DEFAULT_SERVER_SHUTDOWN_TIMEOUT,This number is too big #2877
In my opinion, the difference between 10s or 5s is not very big. I can't decide which is better. Each has its own advantages and disadvantages. 5s is better? maybe.
In my opinion, the difference between 10s or 5s is not very big. I can't decide which is better. Each has its own advantages and disadvantages. 5s is better? maybe.
It will make the application shutdown slow in old version。
This config in 2.6.x ,it's role that make the request which is excuting return success. In general, a request should not execute more than 5 seconds。
I agree with what you said. But personally think that the difference between fast closing and slow closing is not very big.
Should we modify it? Maybe. @zonghaishang Can u give some ideas?
I agree with what you said. But personally think that the difference between fast closing and slow closing is not very big.
Should we modify it? Maybe. @zonghaishang Can u give some ideas?
For the particular issue against com.alibaba.dubbo.common.Constants#DEFAULT_SERVER_SHUTDOWN_TIMEOUT, it is unnecessary any longer to sleep 10 second between Registry destroy and Protocol. Ps. verify.
If you still have confusion on this, pls. send email to [email protected] and ask @yuyijq to give more comments.
Activity
carryxyh commentedon Dec 4, 2018
Can u give some reason?
10 seconds is an insurance time. If you think 10s is too big, please adjust dubbo.service.shutdown.wait
LiZhenNet commentedon Dec 4, 2018
I know it can change value by change the dubbo.service.shutdown.wait, But, 10 second is not a appropriate value.
In 2.5.x , it will sleep 10 second between Registry destroy and Protocol
carryxyh commentedon Dec 4, 2018
Since this sleep occurs when the service goes offline, what problems will it cause when you sleep longer?
carryxyh commentedon Dec 4, 2018
In my opinion, the difference between 10s or 5s is not very big. I can't decide which is better. Each has its own advantages and disadvantages. 5s is better? maybe.
LiZhenNet commentedon Dec 4, 2018
It will make the application shutdown slow in old version。
This config in 2.6.x ,it's role that make the request which is excuting return success. In general, a request should not execute more than 5 seconds。
carryxyh commentedon Dec 4, 2018
I agree with what you said. But personally think that the difference between fast closing and slow closing is not very big.
Should we modify it? Maybe. @zonghaishang Can u give some ideas?
LiZhenNet commentedon Dec 6, 2018
I have pull a request to talk about it #2901
beiwei30 commentedon Dec 7, 2018
@LiZhenNet I've already merge #2901
For the particular issue against com.alibaba.dubbo.common.Constants#DEFAULT_SERVER_SHUTDOWN_TIMEOUT, it is unnecessary any longer to sleep 10 second between Registry destroy and Protocol. Ps. verify.
If you still have confusion on this, pls. send email to [email protected] and ask @yuyijq to give more comments.