From d84365cecd9a8b4d0df87c060ebe0e7891dd2c82 Mon Sep 17 00:00:00 2001 From: Abhimanyu Babbar Date: Sat, 16 Nov 2024 00:57:39 +0530 Subject: [PATCH] chore: updated the default values --- src/middlewares/stats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middlewares/stats.ts b/src/middlewares/stats.ts index 926e2cd35b..6fe0cc1c2c 100644 --- a/src/middlewares/stats.ts +++ b/src/middlewares/stats.ts @@ -1,9 +1,9 @@ import { Context, Next } from 'koa'; export class StatsMiddleware { - private static instanceID: string = process.env.INSTANCE_ID || 'unknown'; + private static instanceID: string = process.env.INSTANCE_ID || 'default'; - private static workerID: string = process.env.WORKER_ID || 'unknown'; + private static workerID: string = process.env.WORKER_ID || 'master'; public static async executionStats(ctx: Context, next: Next) { const start = Date.now();