Commit b06eea3d authored by Howard Chu's avatar Howard Chu
Browse files

Delete unused syncrepl_pool

parent f13d97e0
...@@ -62,9 +62,6 @@ BackendInfo *backendInfo = NULL; ...@@ -62,9 +62,6 @@ BackendInfo *backendInfo = NULL;
int nBackendDB = 0; int nBackendDB = 0;
BackendDB *backendDB = NULL; BackendDB *backendDB = NULL;
ldap_pvt_thread_pool_t syncrepl_pool;
int syncrepl_pool_max = SLAP_MAX_SYNCREPL_THREADS;
static int static int
backend_init_controls( BackendInfo *bi ) backend_init_controls( BackendInfo *bi )
{ {
...@@ -95,8 +92,6 @@ int backend_init(void) ...@@ -95,8 +92,6 @@ int backend_init(void)
{ {
int rc = -1; int rc = -1;
ldap_pvt_thread_pool_init( &syncrepl_pool, syncrepl_pool_max, 0 );
if((nBackendInfo != 0) || (backendInfo != NULL)) { if((nBackendInfo != 0) || (backendInfo != NULL)) {
/* already initialized */ /* already initialized */
Debug( LDAP_DEBUG_ANY, Debug( LDAP_DEBUG_ANY,
...@@ -443,8 +438,6 @@ int backend_destroy(void) ...@@ -443,8 +438,6 @@ int backend_destroy(void)
BackendDB *bd; BackendDB *bd;
struct slap_csn_entry *csne; struct slap_csn_entry *csne;
ldap_pvt_thread_pool_destroy( &syncrepl_pool, 1 );
/* destroy each backend database */ /* destroy each backend database */
for( i = 0, bd = backendDB; i < nBackendDB; i++, bd++ ) { for( i = 0, bd = backendDB; i < nBackendDB; i++, bd++ ) {
......
...@@ -109,8 +109,6 @@ LDAP_BEGIN_DECL ...@@ -109,8 +109,6 @@ LDAP_BEGIN_DECL
#define SLAP_MAX_WORKER_THREADS (16) #define SLAP_MAX_WORKER_THREADS (16)
#define SLAP_MAX_SYNCREPL_THREADS (8)
#define SLAP_SB_MAX_INCOMING_DEFAULT ((1<<18) - 1) #define SLAP_SB_MAX_INCOMING_DEFAULT ((1<<18) - 1)
#define SLAP_SB_MAX_INCOMING_AUTH ((1<<24) - 1) #define SLAP_SB_MAX_INCOMING_AUTH ((1<<24) - 1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment