Unverified Commit f5a7d645 authored by Sebastian Malton's avatar Sebastian Malton Committed by GitHub
Browse files

Reduce cluster logging on quit (#4935)

parent b65f6e00
Showing with 5 additions and 1 deletion
+5 -1
......@@ -379,7 +379,11 @@ export class Cluster implements ClusterModel, ClusterState {
/**
* @internal
*/
@action disconnect() {
@action disconnect(): void {
if (this.disconnected) {
return void logger.debug("[CLUSTER]: already disconnected", { id: this.id });
}
logger.info(`[CLUSTER]: disconnecting`, { id: this.id });
this.eventsDisposer();
this.contextHandler?.stopServer();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment