PluralKit/PluralKit.Core
Noko 845ec90c3e Improve frontpercent performance
Refactored GetTruncatedSwitchList to:
- Only fetch switches in the requested range
- Fetch switch members in bulk rather than one switch at a time

This uses a new GetSwitchMembersList method that requires the following indexes:

CREATE INDEX ix_switches_system
ON public.switches USING btree
(system ASC NULLS LAST)
INCLUDE("timestamp")
TABLESPACE pg_default;

CREATE INDEX ix_switch_members_switch
ON public.switch_members USING btree
(switch ASC NULLS LAST)
INCLUDE(member)
TABLESPACE pg_default;
2019-10-05 15:08:27 -05:00
..
CoreConfig.cs Add basic logging framework 2019-07-18 17:13:42 +02:00
CoreMetrics.cs Instrument and log database queries 2019-08-12 02:05:30 +02:00
DataFiles.cs Add basic logging framework 2019-07-18 17:13:42 +02:00
db_schema.sql Add member proxy display names 2019-08-09 10:12:38 +02:00
Limits.cs Increase webhook name limit to 80 2019-08-14 07:16:48 +02:00
Models.cs Increase webhook name limit to 80 2019-08-14 07:16:48 +02:00
PluralKit.Core.csproj Update D.NET version and add bulk deletion support 2019-07-21 17:16:04 +02:00
Schema.cs Add basic API, only with system endpoints 2019-07-09 20:39:29 +02:00
Stores.cs Improve frontpercent performance 2019-10-05 15:08:27 -05:00
TaskUtils.cs refactor project structure 2019-05-08 00:06:27 +02:00
Utils.cs Fix API service injection 2019-08-12 06:54:28 +02:00