aboutsummaryrefslogtreecommitdiffstats
path: root/alembic/env.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-06-30 19:27:40 +0100
committerGravatar Chris Lovering <[email protected]>2024-06-30 19:34:48 +0100
commitf69fb12e122f01a826ca661ab8402fa4f48d2a33 (patch)
treec107864ca6cf04d1c5e027d14fedea521a481474 /alembic/env.py
parentImprove user in-guild sync process (diff)
Improve user in_guild sync query time by only loading the id column
This means the other, larger, columns do not need to be deserialised, bringing the query time down from 7.4s down to 3.5s. I couldn't simply do select(models.User.id) here, as we need the full User object in order to mutate and update it later inthe process.
Diffstat (limited to 'alembic/env.py')
0 files changed, 0 insertions, 0 deletions