mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-12-02 19:44:02 +08:00
Reenabling background services
--HG-- branch : 1.x
This commit is contained in:
@@ -25,7 +25,6 @@ namespace Orchard.Tasks {
|
||||
public ILogger Logger { get; set; }
|
||||
|
||||
public void Sweep() {
|
||||
return;
|
||||
foreach(var task in _tasks.OfType<IBackgroundTask>()) {
|
||||
using (var scope = new TransactionScope(TransactionScopeOption.RequiresNew)) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user