Fix wrong param

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2024-06-28 20:56:11 +07:00
parent 94a9c8ac01
commit 1f83c8e68c
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -146,7 +146,7 @@ public class RestApi extends ExecutableForAppWithP2p {
boolean preventPeriodicShutdownAtSeedNode = injector.getInstance(Key.get(boolean.class,
Names.named(Config.PREVENT_PERIODIC_SHUTDOWN_AT_SEED_NODE)));
if (!preventPeriodicShutdownAtSeedNode) {
startShutDownInterval(RestApi.this);
startShutDownInterval();
}
UserThread.runAfter(() -> setupConnectionLossCheck(), 60);