-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathworker-conf.yml
60 lines (51 loc) · 1.55 KB
/
worker-conf.yml
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
server.port: 8084
# server.servlet.context-path: app-test
# Disjob configuration
disjob:
# http config
http:
connect-timeout: 3000
read-timeout: 10000
# retry config
retry:
max-count: 3
backoff-period: 3000
# worker config
worker:
group: app-test
timing-wheel-tick-ms: 100
timing-wheel-ring-size: 60
maximum-pool-size: 100
keep-alive-time-seconds: 300
process-thread-pool-size: 6
worker-token: 358678bfe34648f68b607036a27c6854
supervisor-token: 20bb8b7f1cb94dc894b45546a7c2982f
# registry config
registry:
redis:
# redis registry config
namespace: disjob_registry
session-timeout-ms: 60000
# -------- redis db config start --------
database: 0
connect-timeout: 3000
timeout: 5000
lettuce:
pool:
max-active: 32
max-idle: 8
min-idle: 4
max-wait: 5000
shutdown-timeout: 5000
password: 123456 # redis node auth password
#username: node_auth # redis node auth username(redis 6.x ACL)
# redis standalone config
host: localhost # redis standalone host name
port: 6379 # redis standalone port
# redis sentinel config
#sentinel:
# master: REDIS_SENTINEL
# nodes: 112.74.170.75:16379,112.74.170.75:16380
# #password: 123456 # redis sentinel auth password
# #username: sentinel_auth # redis sentinel auth username(redis 6.x ACL)
# -------- redis db config end --------