mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
let ldif2id2entry complete before allowing other children to start
This commit is contained in:
parent
dba57a312c
commit
41adaad0ad
1 changed files with 4 additions and 1 deletions
|
|
@ -58,6 +58,7 @@ main( int argc, char **argv )
|
|||
int dbnum;
|
||||
ID id;
|
||||
int rc;
|
||||
int cmdkids = 1;
|
||||
Backend *be = NULL;
|
||||
struct ldbminfo *li;
|
||||
struct berval bv;
|
||||
|
|
@ -87,7 +88,7 @@ main( int argc, char **argv )
|
|||
break;
|
||||
|
||||
case 'j': /* number of parallel index procs */
|
||||
maxkids = atoi( optarg );
|
||||
cmdkids = atoi( optarg );
|
||||
break;
|
||||
|
||||
case 'n': /* which config file db to index */
|
||||
|
|
@ -170,6 +171,8 @@ main( int argc, char **argv )
|
|||
args[i++] = NULL;
|
||||
fork_child( cmd, args );
|
||||
|
||||
maxkids = cmdkids;
|
||||
|
||||
/*
|
||||
* generate the dn2id and id2children indexes
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue