Skip to content

Commit 977fdc8

Browse files
committed
Small improvement to comment about console logger buffer size
1 parent 6897446 commit 977fdc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebJobs.Script.WebHost/Diagnostics/ConsoleWriter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ namespace Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics
1111
internal class ConsoleWriter
1212
{
1313
// A typical out-of-proc function execution will generate 8 log lines.
14-
// A single core container can potentially get around 1K RPS at the higher end, so this is about 1 second of buffer in the extreme case.
15-
// A typical log line is around 300 bytes, so this is about 2.4MB of buffer in the extreme case.
14+
// A single core container can potentially get around 1K RPS at the higher end, and a typical log line is around 300 bytes
15+
// So in the extreme case, this is about 1 second of buffer and should be less than 3MB
1616
private const int DefaultBufferSize = 8000;
1717

1818
private static readonly TimeSpan DefaultConsoleBufferTimeout = TimeSpan.FromSeconds(1);

0 commit comments

Comments
 (0)