Speed up to 2x token.

main
t 1 year ago
parent 6abc4c4691
commit 4dc9452156

@ -7,7 +7,7 @@ import time
# Easy debug
from icecream import ic
#ic.disable() # Turn off
ic.disable() # Turn off
# Limit for requests
LTIME = cur_time = time.monotonic()
@ -115,7 +115,7 @@ class RequestHandler(BaseHTTPRequestHandler):
# Admin's token
if token[0] == tokens["admin"][0]:
pass
elif token[0] in tokens["premium"] and len(params) < 10000:
elif token[0] in tokens["premium"] and len(params) < 13400:
pass
else:
return 0

Loading…
Cancel
Save