Commit e995de63 authored by Aurel's avatar Aurel

take compress params into account


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16824 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cb9b3e36
...@@ -120,6 +120,10 @@ class CacheTool(BaseTool): ...@@ -120,6 +120,10 @@ class CacheTool(BaseTool):
items = connection_string.split() items = connection_string.split()
if not items: if not items:
return kwargs return kwargs
compress = items[0]
if compress == "~":
kwargs['compress'] = True
items = items[1:]
lockreq, items = items[0], items[1:] lockreq, items = items[0], items[1:]
if lockreq[0] == "*": if lockreq[0] == "*":
db_host, items = items[0], items[1:] db_host, items = items[0], items[1:]
......
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