This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
David Taylor db4ae50928
PERF: Load users in batches when generating notifications (#8870)
Previously, `notify_first_post_users` was loading all users into memory simultaneously, which can cause Sidekiq to run out of memory for large sites. `notify_post_users` was loading every user one-by-one in a loop.

This commit makes both these functions load users in batches of 100. This should make the memory usage of `notify_first_post_users` lower, and reduce the number of queries required in `notify_post_users`.
2020-02-06 12:14:19 +00:00
..
assets FIX: ensures we have a proper component name (#8876) 2020-02-06 11:30:38 +01:00
controllers UX: introduces icon-picker component for badges (#8844) 2020-02-05 00:41:10 +01:00
helpers DEV: Add DEBUG_PRELOADED_APP_DATA to log pre-loaded JSON in development (#8873) 2020-02-06 13:14:33 +10:00
jobs FEATURE: Send suspect users to the review queue (#8811) 2020-01-29 15:38:27 -03:00
mailers FIX: Replace deprecated URI.encode, URI.escape, URI.unescape and URI.unencode (#8528) 2019-12-12 12:49:21 +10:00
models REFACTOR: Edit title respects min trust to edit post 2020-02-05 10:36:24 -07:00
serializers FIX: tag info misleading message saying it's not restricted 2020-02-05 15:23:39 -05:00
services PERF: Load users in batches when generating notifications (#8870) 2020-02-06 12:14:19 +00:00
views FIX: use schema.org's BreadcrumList 2020-01-21 22:27:21 +01:00