File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -226,10 +226,10 @@ RequestingConnection: global
226226{
227227 SystemAddress: address;
228228 RequestsMade;
229- SendConnectionAttemptCount;
229+ SendConnectionAttemptCount defaults to 15 ;
230230 IsConnecting;
231231 NextRequestTime;
232- TimeBetweenConnectionAttempts;
232+ TimeBetweenConnectionAttempts defaults to 500 ;
233233};
234234
235235g_RequestedConnections: DynamicArray;
@@ -241,7 +241,7 @@ loop i < g_NumOfRequestedConnections then
241241 s_timeNow := current time ms;
242242 if s_rcs->NextRequestTime < s_timeNow then
243243 s_unsetAddr := s_rcs->SystemAddress is unset;
244- s_tooManyRequests := s_rcs->RequestsMade is s_rcs->SendConnectionAttemptCount+ 1
244+ s_tooManyRequests := s_rcs->RequestsMade is s_rcs->SendConnectionAttemptCount + 1
245245 if s_unsetAddr or s_tooManyRequests then
246246 if (s_tooManyRequests and !s_unsetAddr and s_rcs->IsConnecting) then
247247 // send ConnectionAttemptFailed packet.
You can’t perform that action at this time.
0 commit comments