This repository has been archived by the owner on Jul 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 360
/
Demo.config
43 lines (37 loc) · 1.62 KB
/
Demo.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="enyim.com">
<section name="memcached" type="Enyim.Caching.Configuration.MemcachedClientSection, Enyim.Caching" />
</sectionGroup>
</configSections>
<!--
Please read the documentation first:
http://github.com/enyim/EnyimMemcached/wiki/MemcachedClient-Configuration
Use this section as a template if you're connecting to regular memcached servers.
Note: you must have the enyim.com/memcached section if you're using the parameterless constructor of EnyimMemcachedClient.
-->
<enyim.com>
<!-- you can use protocol="Text" if your memcached is < 1.3 but you should probably upgrade -->
<memcached>
<servers>
<!-- make sure you use the same ordering of nodes in every configuration you have -->
<add address="127.0.0.1" port="20002" />
<add address="127.0.0.1" port="20004" />
<add address="127.0.0.1" port="20006" />
<add address="127.0.0.1" port="20008" />
</servers>
<!-- It's not recommended to use timeouts lower than 1-2sec.
<socketPool minPoolSize="10" maxPoolSize="200" connectionTimeout="00:00:10" deadTimeout="00:00:10" />
-->
<!--
<locator type="Enyim.Caching.Memcached.KetamaNodeLocator, Enyim.Caching" />
<keyTransformer type="add your type here" />
<transcoder type="add your type here" />
-->
<!-- uncomment the section below if your memcached instance requires authentication
<authentication type="Enyim.Caching.Memcached.PlainTextAuthenticator" zone="AUTHZ" userName="USER NAME" password="PASSWORD" />
-->
</memcached>
</enyim.com>
</configuration>