Skip to content

Commit c9a832a

Browse files
mssaksummersummerwhyezcolin2
committed
fix: 스케쥴러 돌때 redis 데이터가 제대로 삭제되지 않는 오류 수정정
Co-authored-by: Summer Min <[email protected]> Co-authored-by: ez <[email protected]>
1 parent 72d1bb7 commit c9a832a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/backend/src/tasks/tasks.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export class TasksService {
226226

227227
// 트랜잭션 커밋
228228
await queryRunner.commitTransaction();
229+
await redisRunner.exec();
229230
} catch (err) {
230231
// 실패하면 postgres는 roll back하고 redis의 값을 살린다.
231232
this.logger.error(err.stack);

0 commit comments

Comments
 (0)