https://bugzilla.redhat.com/show_bug.cgi?id=645061
https://bugzilla.redhat.com/attachment.cgi?id=454711&action=diff https://bugzilla.redhat.com/attachment.cgi?id=454711&action=edit
Description: As reporter Oliver Thalmann (oliver.thalmann@chuv.ch) pointed out, retrocl_init_trimming was repeating the retrocl_ housekeeping event every 5000 minutes instead of 5 minutes. This patch fixes it to 5 minutes.
Files: ldap/servers/plugins/retrocl/retrocl.h ldap/servers/plugins/retrocl/retrocl_trim.c
Thanks to Oliver Thalmann for his debugging. As he figured out, retrocl_init_trimming was passing the interval in microseconds not in milliseconds. /* * slapi_eq_repeat: cause an event to happen repeatedly. * * Arguments: * fn: the function to call * arg: an argument to pass to the called function * when: the time that the function should first be called * interval: the amount of time (in milliseconds) between * successive calls to the function * Returns: * slapi_eq_context - a handle to an opaque object which * the caller can use to refer to this particular scheduled */ Slapi_Eq_Context slapi_eq_repeat(slapi_eq_fn_t fn, void *arg, time_t when, unsigned long interval)
389-devel@lists.fedoraproject.org