refactor(email): replace Task.WhenAll with foreach in SendEmailBehavior

Changed the SendFinalEmailToReceiversAsync method to use a sequential `foreach` loop
instead of `Task.WhenAll` for sending history commands. Added a null check for
receiver emails to prevent potential exceptions.
This commit is contained in:
2025-11-12 16:14:32 +01:00
parent fac5419589
commit 35dd2e8e07
4 changed files with 19 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Default": "Error",
"Microsoft.Hosting.Lifetime": "Information"
}
},

View File

@@ -1,8 +1,11 @@
{
"FinishEnvelopeJob": {
"CronExpression": "* * * * * ?"
"CronExpression": "0 0/1 * 1/1 * ? *"
},
"EnvelopeTaskApiJob": {
"CronExpression": "* * * * * ?"
"CronExpression": "0 0/1 * 1/1 * ? *"
}
"Expressions": {
"PerSec": "* * * * * ?"
}
}