Files
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
..
2019-07-18 17:13:42 +02:00
2019-07-18 17:13:42 +02:00
2019-08-09 10:12:38 +02:00
2019-08-14 07:16:48 +02:00
2019-08-14 07:16:48 +02:00
2019-10-05 15:08:27 -05:00
2019-05-08 00:06:27 +02:00
2019-08-12 06:54:28 +02:00