RateLimit py3 support

This commit is contained in:
shortcutme 2019-03-15 23:48:46 +01:00
parent 1c578b2b3f
commit e508357cfb
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -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)