[Dev Server] Remove dead code (#193736)

This commit is contained in:
Alejandro Fernández Haro 2024-09-23 19:01:08 +02:00 committed by GitHub
parent be80022154
commit e6e170e687
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -196,16 +196,6 @@ export class DevServer {
this.phase$.next('listening');
this.ready$.next(true);
}
// TODO: remove this once Pier is done migrating log rotation to KP
if (msg === 'RELOAD_LOGGING_CONFIG_FROM_SERVER_WORKER') {
// When receive that event from server worker
// forward a reloadLoggingConfig message to parent
// and child proc. This is only used by LogRotator service
// when the cluster mode is enabled
process.emit('message' as any, { reloadLoggingConfig: true } as any);
proc.send({ reloadLoggingConfig: true });
}
}),
takeUntil(exit$)
);