forked from buildfarm/buildfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.config.example
80 lines (68 loc) · 2.04 KB
/
server.config.example
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# an instance specification
instance {
name: "memory"
# the digest function for this instance, required
# to match out of band between the client and server
# since resource names must be determined on the client
# for a valid upload
digest_function: SHA256
# the implicit type specifier for this instance
# a memory instance is volatile and has no persistent
# footprint. all bulk storage is in terms of the CAS
# with proxy maps for action cache/operations
memory_instance_config: {
# Operations#listOperations request limits
list_operations_default_page_size: 1024
list_operations_max_page_size: 16384
# ContentAddressableStorage#getTree request limits
tree_default_page_size: 1024
tree_max_page_size: 16384
# the maximum time after dispatch of an operation until
# the worker must poll to indicate continued work, after
# which the operation will be requeued
operation_poll_timeout: {
seconds: 30
nanos: 0
}
# the delay after an action timeout before an action is
# automatically considered to have failed with no results
# and a timeout exceeded failure condition
operation_completed_delay: {
seconds: 10
nanos: 0
}
cas_config: {
memory: {
# limit for CAS total content size in bytes
max_size_bytes: 1073741824 # 1024 * 1024 * 1024
}
}
action_cache_config: {
# retain a local map of actionKeys and retain actions in CAS
delegate_cas: {}
}
# an imposed action-key-invariant timeout used in the unspecified timeout case
default_action_timeout: {
seconds: 600
nanos: 0
}
# a limit on the action timeout specified in the action, above which
# the operation will report a failed result immediately
maximum_action_timeout: {
seconds: 3600
nanos: 0
}
}
}
# the listening port of the buildfarm grpc server
port: 8980
# cas write timeout
cas_write_timeout: {
seconds: 3600
nanos: 0
}
# bytestream timeout
bytestream_timeout: {
seconds: 3600
nanos: 0
}