Details improvements
This commit is contained in:
@@ -34,7 +34,10 @@ namespace LeafWeb.WebCms.Services.PiscalQueue
|
||||
string.Join(", ", leafOutputFiles.Select(o => o.Filename)));
|
||||
|
||||
Logger.DebugFormat("LeafInput: {0}, Set Complete", leafInput.Id);
|
||||
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Complete);
|
||||
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Complete,
|
||||
"Emailing notification to user and cleaning up files on Piscal",
|
||||
$"Email: \'{leafInput.Email}\'{Environment.NewLine}" +
|
||||
$"Output files: {leafOutputFiles.Count}");
|
||||
|
||||
BackgroundJobEnqueueRetry<EmailNotificationService>(email => email.SendLeafWebComplete(leafInput.Id));
|
||||
|
||||
|
||||
@@ -119,7 +119,7 @@ namespace LeafWeb.WebCms.Services.PiscalQueue
|
||||
break;
|
||||
|
||||
case PiscalStatus.Complete:
|
||||
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Finishing, "Copying output from Piscal");
|
||||
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Finishing, "Copying LeafOutput from Piscal");
|
||||
BackgroundJobEnqueueRetry<FinishComplete>(s => s.DoWork(leafInputId));
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user