-
-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enforce query count middleware for testing * Cache "DISPLAY_FULL_NAMES" setting - Much better API performance * Update unit_test.py - Add default check for max query count * Rework unit_test.py - x-django-query-count header does not get passed through testing framework * Adjust middleware settings * Fix debug print * Refactoring unit_test.py * Adjust defaults * Increase default query threshold - We can work to reduce this further * Remove outdated comment * Install django-middleware-global-request - Makes the request object globally available - Cache plugin information against it * Cache "plugins_checked" against global request - reduce number of times we need to recalculate plugin data * Cache plugin information to the request - Prevent duplicate reloads if not required * Simplify caching of settings * Revert line * Allow higher default counts for POST requests * Remove global request middleware - Better to implement proper global cache * increase CI query thresholds * Fix typo * API updates * Unit test updates * Increase default MAX_QUERY_TIME * Increase max query time for plugin functions * Cleanup barcode unit tests * Fix part test * Update more tests * Further unit test updates * Updates for unit test code * Fix for unit testing framework * Fix * Reduce default query time * Increase time allowance
- Loading branch information
1 parent
c196511
commit fb193ca
Showing
23 changed files
with
256 additions
and
218 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
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
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
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
Oops, something went wrong.