Details improvements

This commit is contained in:
2017-01-13 09:15:15 -05:00
parent 9d0524dd72
commit 3ee9c11666
75 changed files with 21884 additions and 112 deletions
@@ -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;