diff options
author | Julien Danjou <julien@danjou.info> | 2018-08-24 17:16:05 +0200 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2018-08-29 09:38:56 +0200 |
commit | 413a9a9446a42f196e8ea8fe6f0575426b08205e (patch) | |
tree | 032e441ae6542bc975c9a0685ef82f28313322f1 /ceilometer/polling | |
parent | 469b83ed0e19947852232470e15994a09a573ba8 (diff) | |
download | ceilometer-413a9a9446a42f196e8ea8fe6f0575426b08205e.tar.gz |
polling: remove deprecated option batch_polled_samples
Change-Id: Id854b788c3dbc34b9fb944b6dc72d7f3b48d5495
Diffstat (limited to 'ceilometer/polling')
-rw-r--r-- | ceilometer/polling/manager.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ceilometer/polling/manager.py b/ceilometer/polling/manager.py index cc56298d..adf1f67d 100644 --- a/ceilometer/polling/manager.py +++ b/ceilometer/polling/manager.py @@ -42,18 +42,6 @@ from ceilometer import utils LOG = log.getLogger(__name__) -OPTS = [ - cfg.BoolOpt('batch_polled_samples', - default=True, - deprecated_for_removal=True, - help='To reduce polling agent load, samples are sent to the ' - 'notification agent in a batch. To gain higher ' - 'throughput at the cost of load set this to False. ' - 'This option is deprecated, to disable batching set ' - 'batch_size = 0 in the polling group.' - ), -] - POLLING_OPTS = [ cfg.StrOpt('cfg_file', default="polling.yaml", @@ -139,13 +127,8 @@ class PollingTask(object): resource_factory = lambda: Resources(agent_manager) self.resources = collections.defaultdict(resource_factory) - self._batch = self.manager.conf.batch_polled_samples self._batch_size = self.manager.conf.polling.batch_size - if not self._batch: - # Support deprecated way of disabling baching - self._batch_size = 0 - self._telemetry_secret = self.manager.conf.publisher.telemetry_secret def add(self, pollster, source): |