Skip to content

Commit 951a3a9

Browse files
committed
Remove unnecessary call to UpdateFakeRateLimitTokenBuckets
This just spends CPU time with no benefit, and also leads to a (probably harmless) tsan warning
1 parent 19fd539 commit 951a3a9

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/steamnetworkingsockets/clientlib/steamnetworkingsockets_socketthread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,7 +2600,6 @@ static bool PollRawUDPSockets( int nMaxTimeoutMS, bool bManualPoll )
26002600

26012601
// We're back awake. Grab the lock again
26022602
SteamNetworkingMicroseconds usecStartedLocking = SteamNetworkingSockets_GetLocalTimestamp();
2603-
UpdateFakeRateLimitTokenBuckets( usecStartedLocking );
26042603
for (;;)
26052604
{
26062605

0 commit comments

Comments
 (0)