Merge lp:~jtv/launchpad/bug-455467 into lp:launchpad
Proposed by
Jeroen T. Vermeulen
Status: | Merged |
---|---|
Approved by: | Aaron Bentley |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~jtv/launchpad/bug-455467 |
Merge into: | lp:launchpad |
Diff against target: |
15 lines 1 file modified
lib/lp/translations/scripts/message_sharing_migration.py (+3/-1) |
To merge this branch: | bzr merge lp:~jtv/launchpad/bug-455467 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Aaron Bentley (community) | Approve | ||
Review via email: mp+13570@code.launchpad.net |
Commit message
Memory savings for message-sharing migration.
To post a comment you must log in.
= Bug 455467 =
Very simple memory-saver for the message-sharing migration script, which
is too memory-intensive for the larger projects and packages. Since the
messages' msgids aren't used except for identifying different messages,
and each message is stored in the database exactly once with a unique
row id, all this script really needs to see is their foreign keys.
Since this was neatly isolated in a function, there is only one code
change and no tests are affected. Run "bin/test -t message.sharing" to
verify.
Jeroen