diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-11-20 14:19:35 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-20 16:46:48 -0500 |
commit | 74bd0f69d2ff2da63949e7660aa2f48f06734b90 (patch) | |
tree | b5fdab85ae85fad692fa4b77a0bdef5b23a3cf57 /server/providers | |
parent | c84fe85f9e2f778c6575afb9efeda970aabf400c (diff) | |
download | sssd-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.c | 4 |
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); } |