Skip to content

Commit b12e8e3

Browse files
committed
revert the last changes
1 parent b95bf24 commit b12e8e3

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentFailedIntegrationEventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task Handle(OrderPaymentFailedIntegrationEvent @event)
2121

2222
orderToUpdate.SetCancelledStatus();
2323

24-
await _orderRepository.UnitOfWork.SaveChangesAsync();
24+
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
2525
}
2626
}
2727
}

src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderPaymentSuccededIntegrationEventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task Handle(OrderPaymentSuccededIntegrationEvent @event)
2121

2222
orderToUpdate.SetPaidStatus();
2323

24-
await _orderRepository.UnitOfWork.SaveChangesAsync();
24+
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
2525
}
2626
}
2727
}

src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockConfirmedIntegrationEventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public async Task Handle(OrderStockConfirmedIntegrationEvent @event)
2121

2222
orderToUpdate.SetStockConfirmedStatus();
2323

24-
await _orderRepository.UnitOfWork.SaveChangesAsync();
24+
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
2525
}
2626
}
2727
}

src/Services/Ordering/Ordering.API/Application/IntegrationEvents/EventHandling/OrderStockNotConfirmedIntegrationEventHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public async Task Handle(OrderStockNotConfirmedIntegrationEvent @event)
2727

2828
orderToUpdate.SetStockConfirmedStatus(orderStockNotConfirmedItems);
2929

30-
await _orderRepository.UnitOfWork.SaveChangesAsync();
30+
await _orderRepository.UnitOfWork.SaveEntitiesAsync();
3131
}
3232
}
3333
}

src/Services/SagaManager/SagaManager/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static async Task MainAsync()
4545
while (true)
4646
{
4747
sagaManagerService.CheckFinishedGracePeriodOrders();
48-
await Task.Delay(30000);
48+
await Task.Delay(90000);
4949
}
5050
}
5151

0 commit comments

Comments
 (0)