fix announcement loading failed caused by impression. disable pinyin search.

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-07-25 18:26:05 +08:00
1 parent 87549d4e1f
commit 4768da3c7a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ redis = Redis::Namespace.new("orbit_nccu:redis_search2", :redis => redis)
Redis::Search.configure do |config|
config.redis = redis
config.complete_max_length = 100
config.pinyin_match = true
#config.pinyin_match = true
# use rmmseg, true to disable it, it can save memroy
config.disable_rmmseg = false
end