I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit 01b4c62f authored by zzz's avatar zzz
Browse files

NetDB: RI Publish improvements part 3

Only publish non-ff at shutdown if not restarting
parent f5cccc39
No related branches found
No related tags found
No related merge requests found
Pipeline #2124 passed
......@@ -137,9 +137,8 @@ public class FloodfillNetworkDatabaseFacade extends KademliaNetworkDatabaseFacad
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment