From f6742a0c0b7ce40da3bbaf491e4586ccd43a6f73 Mon Sep 17 00:00:00 2001 From: Kfir Dayan Date: Thu, 13 Jul 2023 13:21:27 +0300 Subject: [PATCH] remove testing --- todo-service/src/rabbitmq/RabbitMQ.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo-service/src/rabbitmq/RabbitMQ.ts b/todo-service/src/rabbitmq/RabbitMQ.ts index 14588c0..59e16d1 100644 --- a/todo-service/src/rabbitmq/RabbitMQ.ts +++ b/todo-service/src/rabbitmq/RabbitMQ.ts @@ -71,6 +71,6 @@ export class RabbitMQ { calculateDelayTimeForQueue(payload: ITodo) { const delayTime = payload.due_date.getTime() - this.currentDate.getCurrentDate().getTime(); - return 0; + return delayTime; } }