In the case where 'clients-per-query' is larger than 'max-clients-per-query', raise 'max-clients-per-query' so that 'clients-per-query' equals 'max-clients-per-query' and log a warning that this is what happened.