PluralKit/PluralKit.Core
Noko adea7be07c Improve export performance
Refactored ExportSystem to:
- Only fetch message counts once (instead of a query per member)
- Fetch switches using the newly refactored GetTruncatedSwitchList (gets switches and their members in one shot instead of querying for switch members one switch at a time)

- Added a new MessageCountsPerMember method to MemberStore to support the above
- Modified GetTruncatedSwitchList query to retrieve switches with no members (wasn't important for frontpercent, but is if we're reusing that method here)

This doesn't require any index changes beyond those that support GetTruncatedSwitchList, though we can see a small benefit with an index on messages covering the member column (valuable for other reasons outside of these additions).
2019-10-06 02:03:28 -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 Improve export performance 2019-10-06 02:03:28 -05:00
db_schema.sql Added indexes to support frontpercent query changes 2019-10-05 15:30:55 -05: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 export performance 2019-10-06 02:03:28 -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