main
Backend Deploy 🚀 / build-and-deploy (push) Has been cancelled

This commit is contained in:
Harun CAN
2026-04-27 12:50:42 +02:00
parent 9d8c34b39d
commit 7745102584
11 changed files with 3909 additions and 23 deletions
@@ -116,6 +116,14 @@ public class QueueConsumerService : BackgroundService
try
{
// İptal kontrolü: İşlem iptal edilmiş mi?
var currentStatus = await _dbService.GetRenderJobStatus(job.RenderJobId);
if (currentStatus == "CANCELLED")
{
_logger.LogInformation("⏭️ [Atlandı] Job iptal edilmiş — Project: {ProjectId}, RenderJob: {RenderJobId}", job.ProjectId, job.RenderJobId);
return;
}
// DB'de render job durumunu PROCESSING yap
await _dbService.UpdateRenderJobStatus(
job.RenderJobId, "PROCESSING", 0, "VIDEO_GENERATION",