##// END OF EJS Templates
helpers: commit parsers, use caching queries to save tons of time when parsing over the same repo...
marcink -
r258:e70f77f7 default
parent child Browse files
Show More
@@ -1652,10 +1652,10 b' def process_patterns(text_string, repo_n'
1652 if repo_name:
1652 if repo_name:
1653 # Retrieving repo_name to avoid invalid repo_name to explode on
1653 # Retrieving repo_name to avoid invalid repo_name to explode on
1654 # IssueTrackerSettingsModel but still passing invalid name further down
1654 # IssueTrackerSettingsModel but still passing invalid name further down
1655 repo = Repository.get_by_repo_name(repo_name)
1655 repo = Repository.get_by_repo_name(repo_name, cache=True)
1656
1656
1657 settings_model = IssueTrackerSettingsModel(repo=repo)
1657 settings_model = IssueTrackerSettingsModel(repo=repo)
1658 active_entries = settings_model.get_settings()
1658 active_entries = settings_model.get_settings(cache=True)
1659
1659
1660 newtext = text_string
1660 newtext = text_string
1661 for uid, entry in active_entries.items():
1661 for uid, entry in active_entries.items():
General Comments 0
You need to be logged in to leave comments. Login now