• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

Révisionfb718976ef4bf21da5358d197f957da75f0a83c3 (tree)
l'heure2012-06-14 04:03:22
AuteurDave Brondsema <dbrondsema@geek...>
CommiterYaroslav Luzin

Message de Log

[#4366] add solr to timermiddleware

Change Summary

Modification

--- 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 ]