@ -71,7 +71,7 @@ class MediaWorker extends SiteWorker {
(async ( ) => {
try {
module.log = new SiteLog(module, module.config.component);
await SitePlatform.startPlatform(module, module.config.component);
await SitePlatform.start(module, module.config.component);
module.worker = new MediaWorker(module);
await module.worker.start();
@ -152,7 +152,7 @@ module.shutdown = async ( ) => {
});
await SitePlatform.startPlatform(module);
await SitePlatform.start(module);
} catch (error) {
module.log.error(`failed to start DTP ${module.config.component.className} process`, { error });
return;
@ -221,7 +221,7 @@ module.requestCoreConnect = async (host) => {
]);
module.log.error(`failed to start DTP ${module.config.component.className} platform`, { error });
@ -67,7 +67,7 @@ module.shutdown = async ( ) => {
await SitePlatform.startWebServer(module);
module.log.error(`failed to start DTP ${module.config.component.name}`, { error });
@ -183,7 +183,7 @@ module.loadControllers = async (dtp) => {
};
module.exports.startPlatform = async (dtp) => {
module.exports.start = async (dtp) => {
module.log = new SiteLog(module, dtp.config.component);
@ -48,7 +48,7 @@ class SiteWorker extends SiteCommon {
/*
* Site Platform startup
*/
await SitePlatform.startPlatform(this.dtp);
await SitePlatform.start(this.dtp);
this.log.error('failed to start worker', {
component: this.dtp.config.component,