Changes between Initial Version and Version 1 of Ticket #11147, comment 23


Ignore:
Timestamp:
Oct 28, 2013, 4:08:01 PM (10 years ago)
Author:
Jun Omae
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11147, comment 23

    initial v1  
    33I have another suggestion, again. Even after [https://github.com/jun66j5/trac-tagsplugin/commit/7bba2e1 7bba2e1], first request leads large transaction while synchronizing ticket attributes to tags table with many ticket records.
    44
    5 I think that `upgrade_environment()` should do initial sync instead of first request. Then the transaction in `TicketTagProvider.__init__` would be small, see [https://github.com/jun66j5/trac-tagsplugin/commit/15e64a5 15e64a5].
     5I think that `upgrade_environment()` should do initial sync instead of first request. Then the transaction in `TicketTagProvider.__init__()` for first request would be small, see [https://github.com/jun66j5/trac-tagsplugin/commit/15e64a5 15e64a5].