mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
Remove debug method that calls cleanup
- It's unclear why this was here. - Removing it doesnt appear to cause any problems. - It still gets called during heartbeats.
This commit is contained in:
parent
43a53f41dd
commit
c649809eb2
@ -344,10 +344,6 @@ class AutoscalePool(WorkerPool):
|
||||
# max workers can't be less than min_workers
|
||||
self.max_workers = max(self.min_workers, self.max_workers)
|
||||
|
||||
def debug(self, *args, **kwargs):
|
||||
self.cleanup()
|
||||
return super(AutoscalePool, self).debug(*args, **kwargs)
|
||||
|
||||
@property
|
||||
def should_grow(self):
|
||||
if len(self.workers) < self.min_workers:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user