projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15ca8bf
)
Don't use pylibmc behaviours, not supported in the version used in production
author
Magnus Hagander
<magnus@hagander.net>
Sat, 12 Jan 2013 17:41:18 +0000
(18:41 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Sat, 12 Jan 2013 17:41:18 +0000
(18:41 +0100)
pgweb/search/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/search/views.py
b/pgweb/search/views.py
index 45c5efa7d61d1ce074413b078935f2108b249b9a..49eb31599ad886279ae60c0762d8aec8f4e30d6d 100644
(file)
--- a/
pgweb/search/views.py
+++ b/
pgweb/search/views.py
@@
-168,7
+168,8
@@
def search(request):
# If memcached is available, let's try it
hits = None
if has_memcached:
- memc = pylibmc.Client(['127.0.0.1',], binary=True, behaviors={'tcp_nodelay':True})
+ memc = pylibmc.Client(['127.0.0.1',], binary=True)
+ # behavior not supported on pylibmc in squeeze:: behaviors={'tcp_nodelay':True})
try:
hits = memc.get(urlstr)
except Exception, e: