Skip to content

Commit

Permalink
fix(#151): log
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh000526 committed Dec 3, 2024
1 parent 044a815 commit f5bf125
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/backend/src/docker/docker.consumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ export class DockerConsumer {
try {
console.log(`${c}번째 프로세스 시작`);
container = await this.dockerContainerPool.getContainer();
console.log(`${c}번째 프로세스: ${container.id}`);
console.log(`컨테이너 할당: ${container.id}`);
const result = await this.runGistFiles(container, gitToken, gistId, commitId, mainFileName, inputs);
await this.cleanWorkDir(container);
this.dockerContainerPool.pool.push(container);
console.log(`컨테이너 반납: ${container.id}`);
console.log(`${c}번째 프로세스 종료`);
return result;
} catch (error) {
await this.cleanWorkDir(container);
Expand Down

0 comments on commit f5bf125

Please sign in to comment.