Skip to content

Commit

Permalink
chore: [BE] 주석코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
DongHoonYu96 committed Dec 23, 2024
1 parent bfde310 commit 5f50df1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions BE/src/game/redis/subscribers/player.subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ export class PlayerSubscriber extends RedisSubscriber {
private positionUpdatesForDead: Map<string, any> = new Map(); // Map<gameId, {playerId, playerPosition}[]>
private positionUpdatesMetrics: Map<string, any> = new Map(); // Map<gameId, {startedAt}[]>

// 메트릭 코드
// const startedAt = process.hrtime();
//
// const endedAt = process.hrtime(startedAt);
// const delta = endedAt[0] * 1e9 + endedAt[1];
// const executionTime = delta / 1e6;
//
// this.metricService.recordResponse(changes, 'success'); <- 이 친구는 현재 사용 x
// this.metricService.recordLatency(changes, 'response', executionTime);

constructor(
@InjectRedis() redis: Redis,
private metricService: MetricService
Expand Down

0 comments on commit 5f50df1

Please sign in to comment.