GetInvoice was removed and replaced with GetInvoiceByHash, GetInvoiceByAddr, etc. Update the sqlite benchmarks to use GetInvoiceByHash instead.
The results suggests that the default of 2 is a good conservative approach. The higher the connection number and the higher the workload the performance decreases in WAL mode since readers still need coordination (WAL index shm for example).