From 70b1ffc9c00b053a076bf569174d3d0f88426331 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Tue, 3 Jan 2017 05:17:21 +0900 Subject: [PATCH] :sparkles: --- src/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 2a1872f8e..dfd625b9c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -43,16 +43,16 @@ main(); */ function main(): void { if (cluster.isMaster) { - master(); + masterMain(); } else { - worker(); + workerMain(); } } /** * Init master proccess */ -async function master(): Promise { +async function masterMain(): Promise { let initResult: InitResult; try { @@ -103,7 +103,7 @@ async function master(): Promise { /** * Init worker proccess */ -function worker(): void { +function workerMain(): void { // Register config global.config = config;