change print
This commit is contained in:
parent
50377eca22
commit
56a2ca464b
|
@ -222,7 +222,7 @@ class RequestHandler:
|
||||||
processing_ip = 0
|
processing_ip = 0
|
||||||
|
|
||||||
if queued_ip_count + processing_ip >= self.token_simultaneous_ip:
|
if queued_ip_count + processing_ip >= self.token_simultaneous_ip:
|
||||||
print(f'Rejecting request from {self.client_ip} - {queued_ip_count + processing_ip} already queued/processing.')
|
print(f'Rejecting request from {self.client_ip} - {queued_ip_count} queued, {processing_ip} processing.')
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
Reference in New Issue