RateLimit py3 support
This commit is contained in:
parent
1c578b2b3f
commit
e508357cfb
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ if __name__ == "__main__":
|
|||
def cb(thread):
|
||||
print("Value:", thread.value)
|
||||
|
||||
print "Testing async spam requests rate limit to 1/sec..."
|
||||
print("Testing async spam requests rate limit to 1/sec...")
|
||||
for i in range(3000):
|
||||
thread = callAsync("publish content.json", 1, publish, "content.json %s" % i)
|
||||
time.sleep(float(random.randint(1, 20)) / 100000)
|
||||
|
|
Loading…
Reference in a new issue