Commit graph

3 commits

Author SHA1 Message Date
Jennifer Richards f78b050263
refactor: Streamline draft aliases api (#7607)
* chore: update add-django-cprofile-filter.patch

* fix: only use "draft" state when making aliases

* refactor: eliminate repeated get_state_slug()

On dev, reduces time for a draft-aliases api
call by by 10-15%

* refactor: only annotate inactive drafts

* refactor: de-lint

* refactor: speed up get_draft_authors_emails

Another 20% or so improvement in response time

* fix: guard against null person
2024-06-28 12:01:26 -05:00
Henrik Levkowetz 9c042b4f7d Tweaked the django_cprofile_middleware patch to use a query arg of psort instead of sort, to avoid conflict with app query args 'sort'.
- Legacy-Id: 15021
2018-04-06 21:21:41 +00:00
Henrik Levkowetz 6d096e7f2a Added a patch for debug mode, to add a filtering option to the django-cprofile-middleware.
- Legacy-Id: 15004
2018-04-04 17:08:26 +00:00