New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System property dubbo.service.delay invalid #1728
Labels
help wanted
Everything needs help from contributors
Comments
Would you please send a pull request? |
ralf0131
added
help wanted
Everything needs help from contributors
good first issue
labels
Jul 16, 2018
cnn112002
pushed a commit
to cnn112002/incubator-dubbo
that referenced
this issue
Aug 12, 2018
noahziheng
pushed a commit
to noahziheng/incubator-dubbo
that referenced
this issue
Aug 13, 2018
5 tasks
6 tasks
hopefulnick
added a commit
to hopefulnick/incubator-dubbo
that referenced
this issue
Aug 14, 2018
6 tasks
6 tasks
liangjingwen
pushed a commit
to liangjingwen/incubator-dubbo
that referenced
this issue
Aug 14, 2018
Closed
5 tasks
6 tasks
4 tasks
This was referenced Jul 10, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
根据dubbo参数的映射关系<dubbo:service delay="5000">也可以通过-Ddubbo.service.delay=5000配置,但是发现-Ddubbo.service.delay=5000不起作用;
debug下面这段代码(ServiceConfig.java)发现:
如果有delay,先delay再doExport(),而解析JVM参数的逻辑(appendProperties(this);)是在doExport()方法中调用;所以导致 if (delay != null && delay > 0)判断时,还没有解析JVM参数-Ddubbo.service.delay=5000,从而导致这种配置不起作用;
The text was updated successfully, but these errors were encountered: