Skip to content

Commit 74fd461

Browse files
committed
chore(order): cập nhật thời gian delay trong order.producer.ts
- Thay đổi thời gian delay từ 1 phút lên 24 giờ để cải thiện hiệu suất xử lý hàng đợi.
1 parent 90b81f5 commit 74fd461

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/shared/queue/producer/order.producer.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ export class OrderProducer {
1818
paymentId
1919
},
2020
{
21-
// delay: 1000 * 60 * 15, // delay 15 phút
22-
delay: 1000 * 60, // delay 1 phút
21+
delay: 1000 * 60 * 60 * 24, // delay 24 giờ
2322
jobId: jobId,
2423
removeOnComplete: true,
2524
removeOnFail: true

0 commit comments

Comments
 (0)