-
- Downloads
HOLI-10626: use Postgres.js instead of Denos postgres client
Rationale: Denos postgres client does not support automatically closing idle or old connections. Therefore, as rumors have it, Google Cloud SQl will eventually close the DB connections, leading to the ECONNRESET error messages we've seen in logging. This MR is an attempt at avoid ECONNRESET by using a client that supports automatically closing idle and old connections.
Showing
- app/config.ts 1 addition, 1 deletionapp/config.ts
- app/deps.ts 1 addition, 1 deletionapp/deps.ts
- app/server.ts 16 additions, 17 deletionsapp/server.ts
- app/voltastics_test.ts 3 additions, 3 deletionsapp/voltastics_test.ts
- app/volunteering_db.ts 30 additions, 30 deletionsapp/volunteering_db.ts
- app/volunteering_db_test.ts 4 additions, 4 deletionsapp/volunteering_db_test.ts
- deno.lock 211 additions, 221 deletionsdeno.lock
Loading
Please register or sign in to comment