Verified Commit 4bff3717 authored by Camil Staps's avatar Camil Staps

Don't suggest include_apps (#212) when using unification search; this causes slow responses

parent 965cf1e5
......@@ -355,6 +355,7 @@ where
] =<< orgtype
addapps db
| isJust orgreq.unify = ([], db) // unification search can be slow
| fromMaybe DEFAULT_INCLUDE_APPS orgreq.include_apps == DEFAULT_INCLUDE_APPS
# req = {orgreq & include_apps=Just (not DEFAULT_INCLUDE_APPS)}
# (res,db) = search req $ resetDB db
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment