chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -136,10 +136,10 @@ public class IPRateLimiter
|
|||
{
|
||||
await _cleanupSignal.WaitAsync(_cts.Token);
|
||||
|
||||
int maxToProcess = Math.Min(_cleanupQueue.Count, 500);
|
||||
var maxToProcess = Math.Min(_cleanupQueue.Count, 500);
|
||||
var nowTicks = Core.TickCount;
|
||||
|
||||
for (int i = 0; i < maxToProcess; i++)
|
||||
for (var i = 0; i < maxToProcess; i++)
|
||||
{
|
||||
if (!_cts.IsCancellationRequested)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue