-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtest.config
45 lines (45 loc) · 1.01 KB
/
test.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
44
45
[ { sasl
, [ {error_logger_mf_dir, "log/sasl"}
, {error_logger_mf_maxfiles, 10}
, {error_logger_mf_maxbytes, 1000000}
, {errlog_type, error}
]
}
, { cowboy_swagger
, [ { global_spec
, #{ swagger => "2.0"
, info => #{title => "SumoRest Test API"}
, basePath => ""
}
}
]
}
, { mnesia
, [{debug, true}]
}
, { sumo_db
, [ {wpool_opts, [{overrun_warning, 100}]}
, {log_queries, true}
, {query_timeout, 30000}
, {storage_backends, []}
, {stores, [
{sr_store_mnesia, sumo_store_mnesia, [
{workers, 10},
{ram_copies, here},
{majority, false}
]}
]}
, { docs
, [ {elements, sr_store_mnesia, #{module => sr_elements}}
, {sessions, sr_store_mnesia, #{module => sr_sessions}}
, {echo_request, sr_store_mnesia, #{module => sr_echo_request}}
]
}
, {events, []}
]
}
, { sr_test
, [ {users, [{<<"user1">>, <<"pwd1">>}, {<<"user2">>, <<"pwd2">>}]}
]
}
].