mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reduce cluster logging on quit (#4935)
This commit is contained in:
parent
b65f6e00ec
commit
f5a7d64551
@ -379,7 +379,11 @@ export class Cluster implements ClusterModel, ClusterState {
|
|||||||
/**
|
/**
|
||||||
* @internal
|
* @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 });
|
logger.info(`[CLUSTER]: disconnecting`, { id: this.id });
|
||||||
this.eventsDisposer();
|
this.eventsDisposer();
|
||||||
this.contextHandler?.stopServer();
|
this.contextHandler?.stopServer();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user