(self, new_max)
| 131 | error('Autoscaler: scale_down: %r', exc, exc_info=True) |
| 132 | |
| 133 | def _update_consumer_prefetch_count(self, new_max): |
| 134 | diff = new_max - self.max_concurrency |
| 135 | if diff: |
| 136 | self.worker.consumer._update_prefetch_count( |
| 137 | diff |
| 138 | ) |
| 139 | |
| 140 | def info(self): |
| 141 | return { |
no test coverage detected