summaryrefslogtreecommitdiff
path: root/server/providers
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-20 14:19:35 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-11-20 16:46:48 -0500
commit74bd0f69d2ff2da63949e7660aa2f48f06734b90 (patch)
treeb5fdab85ae85fad692fa4b77a0bdef5b23a3cf57 /server/providers
parentc84fe85f9e2f778c6575afb9efeda970aabf400c (diff)
downloadsssd-74bd0f69d2ff2da63949e7660aa2f48f06734b90.tar.gz
sssd-74bd0f69d2ff2da63949e7660aa2f48f06734b90.tar.bz2
sssd-74bd0f69d2ff2da63949e7660aa2f48f06734b90.zip
Raise some timeouts
When using high debug levels or valgrind the code maybe slow enough that these timeouts were too strict.
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/ldap/ldap_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/providers/ldap/ldap_common.c b/server/providers/ldap/ldap_common.c
index deffb4aa..6b619f90 100644
--- a/server/providers/ldap/ldap_common.c
+++ b/server/providers/ldap/ldap_common.c
@@ -295,7 +295,7 @@ int sdap_id_setup_tasks(struct sdap_id_ctx *ctx)
if (ctx->be->domain->enumerate) {
/* run the first one in a couple of seconds so that we have time to
* finish initializations first*/
- tv = tevent_timeval_current_ofs(2, 0);
+ tv = tevent_timeval_current_ofs(10, 0);
ret = ldap_id_enumerate_set_timer(ctx, tv);
} else {
/* the enumeration task, runs the cleanup process by itself,
@@ -303,7 +303,7 @@ int sdap_id_setup_tasks(struct sdap_id_ctx *ctx)
/* run the first one in a couple of seconds so that we have time to
* finish initializations first*/
- tv = tevent_timeval_current_ofs(2, 0);
+ tv = tevent_timeval_current_ofs(10, 0);
ret = ldap_id_cleanup_set_timer(ctx, tv);
}