Update Util.cs

This commit is contained in:
Will Corby 2025-02-25 20:23:49 -08:00 committed by GitHub
parent b1a81402b4
commit 2f0ac83031
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,7 +67,7 @@ public static class Util
}
});
// 50% change of doing all, delay .5 seconds
// 20% change of doing all, all delays are 200 ms. leads to about 1 second of rtt ping if enables on both ends.
if (transport.DoFakeNetworkErrors)
{
var floatHandle = GCHandle.Alloc((float)20, GCHandleType.Pinned);