Skip to content

Commit 8328228

Browse files
authored
Removed TODO comments, and moved them to issues
1 parent 6760a41 commit 8328228

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Serilog.Sinks.Async/BufferedQueueSink.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ private void EnsureConsumerStarted()
4949
StartConsumer(logEvent => _sink.Emit(logEvent));
5050
}
5151

52-
//TODO: To save on multiple threads in the thread pool, move this method to super class,
53-
//that can execute a single thread and consume all instances of this sink in same Task.Run()
54-
//See: Concurrency book, where he runs several tasks concurrently
5552
public void StartConsumer(Action<LogEvent> action)
5653
{
5754
Task.Run(async () =>
@@ -70,4 +67,4 @@ public void StartConsumer(Action<LogEvent> action)
7067
});
7168
}
7269
}
73-
}
70+
}

0 commit comments

Comments
 (0)