Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#11147: `upgrade_environment()` synchronizes ticket attributes to tag…

…s table in order to reduce transactions in `TicketTagProvider._fetch_tkt_tags()` on first request
  • Loading branch information...
commit 15e64a5ff49dac312451ee9bad2469d933e90d3f 1 parent 7bba2e1
@jun66j5 authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 tractags/
5 tractags/
@@ -12,6 +12,7 @@
from tractags import db_default
from tractags.api import _
+from tractags.ticket import TicketTagProvider
class TagSetup(Component):
@@ -75,6 +76,10 @@ def upgrade_environment(self, db):
""", (db_default.schema_version,))"Upgraded TracTags db schema from version %d to %d"
% (schema_ver, db_default.schema_version))
+ TicketTagProvider(self.env)._fetch_tkt_tags(db)
+"Synchronized ticket attributes to tags table")
# Internal methods
Please sign in to comment.
Something went wrong with that request. Please try again.