-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.toml
37 lines (35 loc) · 1.27 KB
/
default.toml
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
# NOTE: Make sure to view this file on the Release Tag you're working with
# general actor settings
[general]
# name of the actor system
# magic default: system hostname
name = "$HOSTNAME"
# default mailbox size for every actor if no explicit size is set
# 0 is treated as unlimited
default_mailbox_size = 0
# default maximum amount of consecutive messages that will be handled per actor before thread pool switches the Actor
default_message_throughput = 15
# defines if the rust panic hook should be overwritten by the actor system on startup
override_panic_hook = true
# default pool settings
[thread_pool.config.default]
# amount of actors that this thread_pool can handle
# 0 is treated as unlimited
actor_limit = 0
# minimum amount of threads to spawn for this pool
threads_min = 2
# maximum amount of threads to spawn for this pool
threads_max = 10
# num_cpu * factor = amount of threads to spawn for this pool
threads_factor = 1.5
# internal pool settings
[thread_pool.config.tyra]
# amount of actors that this thread_pool can handle
# 0 is treated as unlimited
actor_limit = 4
# minimum amount of threads to spawn for this pool
threads_min = 2
# maximum amount of threads to spawn for this pool
threads_max = 3
# num_cpu * factor = amount of threads to spawn for this pool
threads_factor = 1