"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "panko/storage/impl_log.py" between
panko-8.0.0.tar.gz and panko-8.1.0.tar.gz

About: OpenStack Panko is an event storage service and REST API for Ceilometer.
The "Ussuri" series (maintained release).

impl_log.py  (panko-8.0.0):impl_log.py  (panko-8.1.0)
skipping to change at line 24 skipping to change at line 24
from oslo_log import log from oslo_log import log
from panko.storage import base from panko.storage import base
LOG = log.getLogger(__name__) LOG = log.getLogger(__name__)
class Connection(base.Connection): class Connection(base.Connection):
"""Log event data.""" """Log event data."""
@staticmethod @staticmethod
def clear_expired_data(ttl): def clear_expired_data(ttl, max_count):
"""Clear expired data from the backend storage system. """Clear expired data from the backend storage system.
Clearing occurs according to the time-to-live. Clearing occurs according to the time-to-live.
:param ttl: Number of seconds to keep records for. :param ttl: Number of seconds to keep records for.
:param max_count: Number of records to delete.
""" """
LOG.info("Dropping event data with TTL %d", ttl) LOG.info("Dropping %d events data with TTL %d", max_count, ttl)
 End of changes. 3 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)