Skip to content

Commit

Permalink
chore: updated the default values
Browse files Browse the repository at this point in the history
  • Loading branch information
abhimanyubabbar committed Nov 15, 2024
1 parent 90777ec commit d84365c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/middlewares/stats.ts
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit d84365c

Please sign in to comment.