-
Notifications
You must be signed in to change notification settings - Fork 216
/
ditto-limits.conf
37 lines (30 loc) · 1014 Bytes
/
ditto-limits.conf
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
ditto.limits {
# limitations regarding "Thing" entity / "things" service
things {
max-size = 100k
max-size = ${?LIMITS_THINGS_MAX_SIZE}
}
# limitations regarding "Policy" entity / "policies" service
policies {
max-size = 100k
max-size = ${?LIMITS_POLICIES_MAX_SIZE}
}
# limitations regarding "messages" (e.g. via WebSocket, connectivity)
messages {
max-size = 250k
max-size = ${?LIMITS_MESSAGES_MAX_SIZE}
headers-size = 5k
headers-size = ${?LIMITS_MESSAGES_HEADERS_SIZE}
auth-subjects-count = 100
auth-subjects-count = ${?LIMITS_MESSAGES_AUTH_SUBJECTS_COUNT}
}
# limiations for the "things-search" service
search {
default-page-size = 25
default-page-size = ${?LIMITS_THINGS_SEARCH_DEFAULT_PAGE_SIZE}
# the allowed maximum page size limit - e.g. specified when doing a search via HTTP:
# /api/1/search/things?filter=...&option=limit(0,200)
max-page-size = 200
max-page-size = ${?LIMITS_THINGS_SEARCH_MAX_PAGE_SIZE}
}
}