Skip to content

Commit

Permalink
NetDB: RI Publish improvements part 3
Browse files Browse the repository at this point in the history
Only publish non-ff at shutdown if not restarting
  • Loading branch information
zzzi2p committed Jan 28, 2025
1 parent f5cccc3 commit 01b4c62
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,8 @@ protected void createHandlers() {
public synchronized void shutdown() {
// only if not forced ff or not restarting
if (_floodfillEnabled &&
(!_context.getBooleanProperty(FloodfillMonitorJob.PROP_FLOODFILL_PARTICIPANT) ||
!(_context.router().scheduledGracefulExitCode() == Router.EXIT_HARD_RESTART ||
_context.router().scheduledGracefulExitCode() == Router.EXIT_GRACEFUL_RESTART))) {
_context.router().scheduledGracefulExitCode() == Router.EXIT_GRACEFUL_RESTART)) {
// turn off to build a new RI...
_floodfillEnabled = false;
// true -> publish inline
Expand Down

0 comments on commit 01b4c62

Please sign in to comment.