Limit max age of replication changelog

Limit max age of replication changelog to seven days, instead of grow to
unlimited size.

https://fedorahosted.org/freeipa/ticket/5086

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Martin Basti
2015-07-20 16:36:45 +02:00
parent 5137478fb8
commit a4b1bb25c9
2 changed files with 5 additions and 0 deletions

View File

@@ -468,6 +468,7 @@ class ReplicationManager(object):
'objectclass': ["top", "extensibleobject"],
'cn': ["changelog5"],
'nsslapd-changelogdir': [os.path.join(dbdir, "cldb")],
'nsslapd-changelogmaxage': ['7d'],
}
)
try: