]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9642 Lloadd standalone doesn't use rq
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 13 Sep 2021 13:36:18 +0000 (14:36 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 15 Dec 2021 20:40:53 +0000 (20:40 +0000)
servers/lloadd/daemon.c
servers/lloadd/init.c

index 5120c1d65d3b28a969e47cbca61d1717afdb0c61..ad974390c8db6204c6f3d868108290cbcf33343d 100644 (file)
@@ -64,7 +64,6 @@ int slap_inet4or6 = AF_INET;
 
 /* globals */
 time_t starttime;
-struct runqueue_s slapd_rq;
 
 #ifdef LDAP_TCP_BUFFER
 int slapd_tcp_rmem;
index a43b1d5162f988ff896e52794ae4dc8b07b86202..82246f4513b2ba765e060112a50dff4dcd1a531e 100644 (file)
@@ -35,8 +35,6 @@
 #include "lload.h"
 #include "lber_pvt.h"
 
-#include "ldap_rq.h"
-
 #ifndef BALANCER_MODULE
 /*
  * read-only global variables or variables only written by the listener
@@ -159,10 +157,6 @@ lload_init( int mode, const char *name )
             ldap_pvt_thread_pool_init_q( &connection_pool, connection_pool_max,
                     0, connection_pool_queues );
 
-            ldap_pvt_thread_mutex_init( &slapd_rq.rq_mutex );
-            LDAP_STAILQ_INIT( &slapd_rq.task_list );
-            LDAP_STAILQ_INIT( &slapd_rq.run_list );
-
             rc = lload_global_init();
             break;