Skip to content

Commit

Permalink
Check if delay is -1 before property for manual publish (#12794)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ authored Jul 26, 2023
1 parent 879fd81 commit 5caa852
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void export(RegisterTypeEnum registerType) {
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
Expand Down

0 comments on commit 5caa852

Please sign in to comment.