summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/monitor/monitor.c2
-rw-r--r--server/providers/ldap/ldap_common.c4
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);
}