Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3987: [ADP-3063] Remove `ConnectionPool` r=HeinrichApfelmus a=HeinrichApfelmus ### Overview This task is about removing the `ConnectionPool` type and `withConnectionPool` function. Historically, the `ConnectionPool` was an attempt to enable concurrent reading from a database file. However, the present state of the code is that only a single connection is ever used per database file. ### Comments * This fixes an issue where `runQuery` would close and open the database connection all the time — instead of working with a `pool :: ConnectionPool`, this function would work with a `fp :: FilePath`. ### Issue number ADP-3063 Co-authored-by: Heinrich Apfelmus <heinrich.apfelmus@iohk.io> Co-authored-by: paolino <paolo.veronelli@gmail.com>
- Loading branch information