Change memcached component configuration syntax to use spaces instead of commas between memcached addresses.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1214043 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f0ae609332
commit
f50225bacd
3 changed files with 4 additions and 4 deletions
|
|
@ -26,7 +26,7 @@
|
|||
<service name="memcache">
|
||||
<binding.http uri="memcache"/>
|
||||
</service>
|
||||
<property name="servers">localhost,localhost:11212,localhost:11213</property>
|
||||
<property name="servers">localhost localhost:11212 localhost:11213</property>
|
||||
</component>
|
||||
|
||||
<component name="l2cache">
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
<service name="l2cache">
|
||||
<binding.http uri="l2cache"/>
|
||||
</service>
|
||||
<property name="servers">localhost:11411,localhost:11412,localhost:11413</property>
|
||||
<property name="servers">localhost:11411 localhost:11412 localhost:11413</property>
|
||||
</component>
|
||||
|
||||
<component name="datacache">
|
||||
|
|
|
|||
2
sca-cpp/trunk/components/cache/memcache.cpp
vendored
2
sca-cpp/trunk/components/cache/memcache.cpp
vendored
|
|
@ -102,7 +102,7 @@ private:
|
|||
const failable<value> start(unused const list<value>& params) {
|
||||
// Connect to memcached
|
||||
const value servers = ((lambda<value(list<value>)>)car(params))(list<value>());
|
||||
memcache::MemCached& ch = *(new (gc_new<memcache::MemCached>()) memcache::MemCached(tokenize(",", servers)));
|
||||
memcache::MemCached& ch = *(new (gc_new<memcache::MemCached>()) memcache::MemCached(tokenize(" ", servers)));
|
||||
|
||||
// Return the component implementation lambda function
|
||||
return value(lambda<value(const list<value>&)>(applyCache(ch)));
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
<service name="Memcache">
|
||||
<binding.atom uri="memcache"/>
|
||||
</service>
|
||||
<property name="servers">localhost:11211,localhost:11212,localhost:11213</property>
|
||||
<property name="servers">localhost:11211 localhost:11212 localhost:11213</property>
|
||||
</component>
|
||||
|
||||
<component name="Masterdb">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue