Use bounded channel for streaming (#6625)
This commit is contained in:
parent
f43a353021
commit
17616a5dba
|
|
@ -78,7 +78,9 @@ namespace Microsoft.AspNetCore.SignalR
|
|||
|
||||
public ChannelConverter()
|
||||
{
|
||||
_channel = Channel.CreateUnbounded<T>();
|
||||
// TODO: Make this configurable or figure out a good limit
|
||||
// https://github.com/aspnet/AspNetCore/issues/4399
|
||||
_channel = Channel.CreateBounded<T>(10);
|
||||
}
|
||||
|
||||
public Type GetItemType()
|
||||
|
|
|
|||
Loading…
Reference in New Issue