diff options
Diffstat (limited to 'ldap')
-rw-r--r-- | ldap/servers/plugins/retrocl/retrocl.h | 2 | ||||
-rw-r--r-- | ldap/servers/plugins/retrocl/retrocl_trim.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ldap/servers/plugins/retrocl/retrocl.h b/ldap/servers/plugins/retrocl/retrocl.h index c4354d47..276912bb 100644 --- a/ldap/servers/plugins/retrocl/retrocl.h +++ b/ldap/servers/plugins/retrocl/retrocl.h @@ -80,7 +80,7 @@ typedef struct _cnumRet { /* * How often the changelog trimming thread runs. This is the minimum trim age. */ -#define CHANGELOGDB_TRIM_INTERVAL 300*1000 /* 5 minutes */ +#define CHANGELOGDB_TRIM_INTERVAL 300*1000 /* 5 minutes in milliseconds */ #if defined(__hpux) && defined(__ia64) #define RETROCL_DLL_DEFAULT_THREAD_STACKSIZE 524288L diff --git a/ldap/servers/plugins/retrocl/retrocl_trim.c b/ldap/servers/plugins/retrocl/retrocl_trim.c index 7e977369..756f13b0 100644 --- a/ldap/servers/plugins/retrocl/retrocl_trim.c +++ b/ldap/servers/plugins/retrocl/retrocl_trim.c @@ -516,8 +516,9 @@ void retrocl_init_trimming (void) retrocl_trimming = 1; retrocl_trim_ctx = slapi_eq_repeat(retrocl_housekeeping, - NULL,(time_t)0, - CHANGELOGDB_TRIM_INTERVAL * 1000); + NULL, (time_t)0, + /* in milliseconds */ + CHANGELOGDB_TRIM_INTERVAL); } |