Browse Source

Merge pull request #25253 from abpframework/fix/increase-response-stream-buffer-size

Increase `AbpMemoryPoolHttpResponseStreamWriterFactory` buffer size to 256KB
pull/25258/head
Engincan VESKE 3 weeks ago
committed by GitHub
parent
commit
6367a1414c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Infrastructure/AbpMemoryPoolHttpResponseStreamWriterFactory.cs

2
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/Infrastructure/AbpMemoryPoolHttpResponseStreamWriterFactory.cs

@ -12,7 +12,7 @@ namespace Volo.Abp.AspNetCore.Mvc.Infrastructure;
/// </summary>
public class AbpMemoryPoolHttpResponseStreamWriterFactory : IHttpResponseStreamWriterFactory
{
public const int DefaultBufferSize = 32 * 1024;
public const int DefaultBufferSize = 256 * 1024;
private readonly ArrayPool<byte> _bytePool;
private readonly ArrayPool<char> _charPool;

Loading…
Cancel
Save