diff options
author | Michal Zidek <mzidek@redhat.com> | 2014-07-07 17:45:45 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-31 11:52:13 +0200 |
commit | b39098de5bbb7513d5509fb30a3096a3bd9d43f2 (patch) | |
tree | dbd5883064330139f87b023b0ffecfa3c5371147 /src/providers/ldap/ldap_id_cleanup.c | |
parent | ab0ab5a30379b84d6e05e1f2dc457bd1dd97401f (diff) | |
download | sssd-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.c | 2 |
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) { |