• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revision38750bffbc36e3d124b5be7a5a68a44959cf0883 (tree)
Time2012-06-09 00:54:34
AuthorCory Johns <johnsca@geek...>
CommiterDave Brondsema

Log Message

[#4265] Added index for slow project icon query

Signed-off-by: Cory Johns <johnsca@geek.net>

Change Summary

Incremental Difference

--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -34,6 +34,7 @@ log = logging.getLogger(__name__)
3434 class ProjectFile(File):
3535 class __mongometa__:
3636 session = main_orm_session
37+ indexes = [('project_id', 'category')]
3738
3839 project_id=FieldProperty(S.ObjectId)
3940 category=FieldProperty(str)