-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PLUTON-19231 | Implement @awmackowiak's changes
Draft pull request: #519 This changes the iteration order during prepare_redirects (changing the loop from: ```for redirect in self.input.redirects: ... for mapped_domain in redirect.src_domain.mapped_domains(self.varnish.cluster): ``` to: ```for related_domain in related_domains: ... for redirect in self.input.redirects.get(related_domain): ... for mapped_domain in redirect.src_domain.mapped_domains(self.varnish.cluster): ``` In testing this caused a speedup in the time to prepare redirects from ~0.7 to ~0.1
- Loading branch information
Showing
5 changed files
with
48 additions
and
96 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