Skip to content

Commit f9bd708

Browse files
authored
Fix format in HttpBackgroundJob (#18416)
1 parent bdd89f3 commit f9bd708

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/OrchardCore/OrchardCore.Abstractions/BackgroundJobs/HttpBackgroundJob.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public static Task ExecuteAfterEndOfRequestAsync(string jobName, Func<ShellScope
3131
jobName,
3232
scope.ShellContext.Settings.Name,
3333
scope.ShellContext.Settings.State);
34+
3435
return Task.CompletedTask;
3536
}
3637

@@ -44,6 +45,7 @@ public static Task ExecuteAfterEndOfRequestAsync(string jobName, Func<ShellScope
4445
"Background job '{JobName}' was not executed because it requires an HTTP context. Tenant: '{TenantName}'",
4546
jobName,
4647
scope.ShellContext.Settings.Name);
48+
4749
return Task.CompletedTask;
4850
}
4951

@@ -76,6 +78,7 @@ public static Task ExecuteAfterEndOfRequestAsync(string jobName, Func<ShellScope
7678
"Background job '{JobName}' timed out waiting for HTTP context to be released after 60 seconds on tenant '{TenantName}'. Job will be skipped.",
7779
jobName,
7880
scope.ShellContext.Settings.Name);
81+
7982
return;
8083
}
8184
}
@@ -93,6 +96,7 @@ public static Task ExecuteAfterEndOfRequestAsync(string jobName, Func<ShellScope
9396
jobName,
9497
shellContext.Settings.Name,
9598
shellContext.Settings.State);
99+
96100
return;
97101
}
98102

0 commit comments

Comments
 (0)