Check if delay is -1 before property for manual publish (#12794)
This commit is contained in:
parent
879fd81128
commit
5caa8524a9
|
|
@ -310,7 +310,7 @@ public class ServiceConfig<T> extends ServiceConfigBase<T> {
|
|||
if (shouldDelay()) {
|
||||
// should register if delay export
|
||||
doDelayExport();
|
||||
} else if (
|
||||
} else if (Integer.valueOf(-1).equals(getDelay()) &&
|
||||
Boolean.parseBoolean(ConfigurationUtils.getProperty(
|
||||
getScopeModel(), CommonConstants.DUBBO_MANUAL_REGISTER_KEY, "false"))) {
|
||||
// should not register by default
|
||||
|
|
|
|||
Loading…
Reference in New Issue