• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

修訂fb718976ef4bf21da5358d197f957da75f0a83c3 (tree)
時間2012-06-14 04:03:22
作者Dave Brondsema <dbrondsema@geek...>
CommiterYaroslav Luzin

Log Message

[#4366] add solr to timermiddleware

Change Summary

差異

--- a/Allura/allura/lib/custom_middleware.py
+++ b/Allura/allura/lib/custom_middleware.py
@@ -8,6 +8,7 @@ from paste import fileapp
88 from pylons.util import call_wsgi_application
99 from timermiddleware import Timer, TimerMiddleware
1010 from webob import exc, Request
11+import pysolr
1112
1213 from allura.lib import helpers as h
1314
@@ -179,4 +180,5 @@ class AlluraTimerMiddleware(TimerMiddleware):
179180 'flush', debug_each_call=False),
180181 Timer('template', genshi.template.Template, '_prepare', '_parse',
181182 'generate'),
183+ Timer('solr', pysolr.Solr, 'add', 'delete', 'search', 'commit'),
182184 ]