Prevent RUDP snapshot traffic from starving peers
This commit is contained in:
parent
a18a7400fb
commit
fbee58eba1
3 changed files with 24 additions and 3 deletions
|
|
@ -224,7 +224,6 @@ namespace GameCult.Networking
|
|||
public async Task<bool> PollOnceAsync()
|
||||
{
|
||||
var delivered = _transport.ReceiveOnce();
|
||||
_transport.PollResends();
|
||||
if (delivered == null || !string.Equals(delivered.Frame.ChannelId, "schema", StringComparison.Ordinal))
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue