summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_id_cleanup.c
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2014-07-07 17:45:45 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-31 11:52:13 +0200
commitb39098de5bbb7513d5509fb30a3096a3bd9d43f2 (patch)
treedbd5883064330139f87b023b0ffecfa3c5371147 /src/providers/ldap/ldap_id_cleanup.c
parentab0ab5a30379b84d6e05e1f2dc457bd1dd97401f (diff)
downloadsssd-b39098de5bbb7513d5509fb30a3096a3bd9d43f2.tar.gz
sssd-b39098de5bbb7513d5509fb30a3096a3bd9d43f2.tar.xz
sssd-b39098de5bbb7513d5509fb30a3096a3bd9d43f2.zip
ptask: Add backoff feature to the ptask api.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/providers/ldap/ldap_id_cleanup.c')
-rw-r--r--src/providers/ldap/ldap_id_cleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c
index 0c473da30..f78d4b404 100644
--- a/src/providers/ldap/ldap_id_cleanup.c
+++ b/src/providers/ldap/ldap_id_cleanup.c
@@ -87,7 +87,7 @@ errno_t ldap_setup_cleanup(struct sdap_id_ctx *id_ctx,
ret = be_ptask_create_sync(sdom, id_ctx->be, period, first_delay,
5 /* enabled delay */, 0 /* random offset */,
- period /* timeout */, BE_PTASK_OFFLINE_SKIP,
+ period /* timeout */, BE_PTASK_OFFLINE_SKIP, 0,
ldap_cleanup_task, cleanup_ctx, name,
&sdom->cleanup_task);
if (ret != EOK) {