mirror of
https://github.com/django/daphne.git
synced 2025-07-14 09:52:17 +03:00
Don't let benchmarker overshoot concurrency
This commit is contained in:
parent
db9661b31d
commit
808231cdc5
|
@ -102,7 +102,7 @@ class Benchmarker(object):
|
||||||
|
|
||||||
def spawn_loop(self):
|
def spawn_loop(self):
|
||||||
self.spawn_connections()
|
self.spawn_connections()
|
||||||
reactor.callLater(0.01, self.spawn_loop)
|
reactor.callLater(0.1, self.spawn_loop)
|
||||||
|
|
||||||
def progress_loop(self):
|
def progress_loop(self):
|
||||||
self.print_progress()
|
self.print_progress()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user