Skip to content

Commit

Permalink
Merge pull request #139 from boostcampwm-2024/dev-back
Browse files Browse the repository at this point in the history
merge main
  • Loading branch information
hyo-limilimee authored Nov 21, 2024
2 parents 4c94011 + 385fb98 commit 060f99c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions backend/name-server/src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { DNSResponseBuilder } from './utils/dns-response-builder';
import { RESPONSE_CODE } from './constant/dns-packet.constant';
import { logger } from 'common/utils/logger/console.logger';
import { ServerError } from './error/server.error';
import type { ProjectQueryInterface } from '../database/query/project.query.interface';
import type { ProjectQueryInterface } from 'database/query/project.query.interface';
import type { DAURecorderInterface } from 'database/query/dau-recorder';
import { MESSAGE_TYPE } from 'server/constant/message-type.constants';
Expand Down Expand Up @@ -110,7 +109,7 @@ export class Server {

const errorMessage = `Failed to process DNS query from ${remoteInfo.address}:${remoteInfo.port}`;
const response = new DNSResponseBuilder(this.config, query)
.addAnswer(ResponseCode.NXDOMAIN)
.addAnswer(RESPONSE_CODE.NXDOMAIN)
.build();

const responseMsg = encode(response);
Expand Down
2 changes: 1 addition & 1 deletion backend/proxy-server/ecosystem.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
apps: [
{
name: 'proxy-server',
script: 'dist/app.js', // 빌드된 애플리케이션 진입점
script: 'dist/index.js', // 빌드된 애플리케이션 진입점
instances: 'max', // CPU 코어 수에 따라 인스턴스 수 자동 조절
exec_mode: 'cluster',
},
Expand Down

0 comments on commit 060f99c

Please sign in to comment.