-
Notifications
You must be signed in to change notification settings - Fork 214
/
ditto-limits.conf
34 lines (29 loc) · 980 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
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}
# Number of imported policies that one policy may contain.
imports-limit = 10
imports-limit = ${?LIMITS_POLICIES_MAX_IMPORTS}
}
# limitations regarding "messages" (e.g. via WebSocket, connectivity)
messages {
max-size = 250k
max-size = ${?LIMITS_MESSAGES_MAX_SIZE}
}
# 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}
}
}