impress/src/server/types
Matchu e051290df4 Better-scoped queries for currentUserOwnsThis etc
I hypothesize that loading people's full trade lists more often than necessary is part of the cause of the recent mega slowdown!

My hypothesis is that we're clogging up the MySQL connection socket with a ton of data, which blocks all other queries until the big ones come through and parse out. (I haven't actually validated my assumption that MySQL connections send query results in serial like that, but it makes sense to me, and fits what I've been seeing.)

There's more places we could potentially optimize, like the trade list page itself… (we currently aggressively load everything when we could limit it and load the rest on the followup pages, or even paginate the followup pages…)

…but my hope is that this helps enough, by relieving the load on the homepage (latest items) and on item searches!
2022-01-07 11:37:27 -08:00
..
AppearanceLayer.js Use /api/assetImage for all image sizes 2021-08-19 17:56:09 -07:00
ClosetList.js Closet list dropdowns on item page 2021-11-30 16:36:00 -08:00
Item.js Better-scoped queries for currentUserOwnsThis etc 2022-01-07 11:37:27 -08:00
MutationsForSupport.js Better handle editUsername when Auth0 update fails 2021-10-21 12:17:12 -07:00
Outfit.js Fix GraphQL docstrings 2021-05-27 16:51:31 -07:00
Pet.js Fix GraphQL docstrings 2021-05-27 16:51:31 -07:00
PetAppearance.js Fix GraphQL docstrings 2021-05-27 16:51:31 -07:00
User.js Send Vary: Authorization cache header 2021-11-23 13:00:56 -08:00
Zone.js Use ES module syntax in backend instead of require 2021-02-02 22:26:55 -08:00