impress/src/server
Matchu 4ed6344b3d Use a connection pool
This should both fix cases where the connection closes for various reasons, by having the pool reconnect; and also should be a second way of solving some of the blocking issues we were having with large queries, by letting faster queries use parallel connections.

Idk what a reasonable number is, 10 seems to be what various guides are saying? Might tune it down if it ends up pushing various connection limits? (We could also constrain it on dev specifically, if that matters.)
2022-01-08 09:20:45 -08:00
..
__image_snapshots__ outfit-images: render actual PNG and SVG layers! 2021-01-04 05:58:19 +00:00
__snapshots__ simplify validPetPoses out of the server directory 2020-09-06 00:40:00 -07:00
lib Fix Typescript error with caching + new Apollo 2021-11-26 15:22:01 -08:00
types Better-scoped queries for currentUserOwnsThis etc 2022-01-07 11:37:27 -08:00
auth.js Fix misc lint errors 2021-05-03 15:06:07 -07:00
db.js Use a connection pool 2022-01-08 09:20:45 -08:00
index.js Send Vary: Authorization cache header 2021-11-23 13:00:56 -08:00
loaders.js Better-scoped queries for currentUserOwnsThis etc 2022-01-07 11:37:27 -08:00
modeling.js Lint against console.log 2021-05-03 15:01:49 -07:00
neopets-assets.js Support HTTPS asset URLs 2021-06-12 02:29:30 -07:00
outfit-images.js Fail harder when *all* layers fail to load 2021-09-03 14:55:50 -07:00
outfit-images.test.js Use Fastly to cache our PNG assets from S3 2021-05-12 22:49:59 -07:00
util.js Fix misc lint errors 2021-05-03 15:06:07 -07:00
util.test.js Fix misc lint errors 2021-05-03 15:06:07 -07:00