summaryrefslogtreecommitdiff
path: root/include/config.hrl
blob: 20983d2667a07d774c427922be6c748ec06f9b20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

-ifndef(CONFIG_HRL).
-define(CONFIG_HRL, true).
%we don't want to turn protocol buffers on by default, since the library is not included
%it should be very easy for new users to start up an instance
-record(config, {n=3,
                 r=1,
                 w=1,
                 q=6,
                 directory,
                 web_port,
                 text_port=11222,
                 storage_mod=dets_storage,
                 blocksize=4096,
                 thrift_port=9200,
                 pb_port=undefined,
                 buffered_writes=undefined,
                 cache=undefined,
                 cache_size=1048576,
                 hash_module=partitions,
                 meta=[]
                }).

-endif.