[Freeipa-devel] [PATCH 0293] Allow to set number of DB locks during install
Jan Cholasta
jcholast at redhat.com
Wed Jul 22 14:01:45 UTC 2015
Dne 22.7.2015 v 15:56 Martin Basti napsal(a):
> Hello all,
>
> I attached WIP patch to solve https://fedorahosted.org/freeipa/ticket/4949
>
> I received several suggestions:
>
> 1) (implemented in patch) is to add the option --db-locks to installer
> (maybe as hidden option)
>
> 2) Configure the nsslapd-db-locks to higher value as default (what is
> the right value?)
>
> 3) Combination of 1and 2: set default higher value and also have hidden
> option to allow configure higher number of locks during install
>
> Comments are more than welcome :-)
Name the option "--ds-db-locks" please.
+ cli_name='db-locks',
This is the default cli_name, no need to set it explicitly.
+ if value < 0:
+ raise ValueError("Number of database locks must be positive
number")
0 is not positive.
--
Jan Cholasta
More information about the Freeipa-devel
mailing list