Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of queries for unseen submissions
With large numbers of sources or submissions, the journalist interface index page queries could exceed the 60-second Apache timeout. This uses joins instead of the n+1 checks for submission seen status, both there and when downloading unread submissions.
- Loading branch information
Showing
2 changed files
with
75 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters