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 | |
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')
-rw-r--r-- | server/monitor/monitor.c | 2 | ||||
-rw-r--r-- | server/providers/ldap/ldap_common.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/monitor/monitor.c b/server/monitor/monitor.c index 56bf6eaa..7801c60c 100644 --- a/server/monitor/monitor.c +++ b/server/monitor/monitor.c @@ -2102,7 +2102,7 @@ static int monitor_service_init(struct sbus_connection *conn, void *data) mini->conn = conn; /* 5 seconds should be plenty */ - tv = tevent_timeval_current_ofs(5, 0); + tv = tevent_timeval_current_ofs(10, 0); mini->timeout = tevent_add_timer(ctx->ev, mini, tv, init_timeout, mini); if (!mini->timeout) { 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); } |