-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.conf
More file actions
56 lines (51 loc) · 2.39 KB
/
Copy pathapplication.conf
File metadata and controls
56 lines (51 loc) · 2.39 KB
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
# ── Server ------------------------------------------------------------------
# host: bind address.
# port: HTTP and WebSocket listen port (also update -p mapping in run_docker.sh
# if you change this).
server {
host = "127.0.0.1"
port = 8080
}
# ── WebSocket ----------------------------------------------------------------
websocket {
queueTimeoutMs = 1000 # outgoing message queue drain timeout (ms)
enabled = true
}
# ── Logging -----------------------------------------------------------------
# level: verbosity – DEBUG | INFO | WARN | ERROR
# consoleOutput: print log lines to stdout
logging {
level = "INFO"
consoleOutput = false
}
# ── Engine ------------------------------------------------------------------
# defaultTickDelayMs: pause between execution ticks for newly created
# environments (can be overridden via /setTickDelay).
# defaultEventTtlMs: time-to-live for events in milliseconds; 0 means events
# live forever (can be overridden per environment via API).
engine {
defaultTickDelayMs = 500
defaultEventTtlMs = 3000
# eventConsumptionOnFire: when true (default) events are only marked as processed when a
# transition actually fires; when false they are consumed as soon as the engine evaluates
# their condition (can cause events to vanish if no transition fires).
eventConsumptionOnFire = true
}
# ── Engine Tracing ----------------------------------------------------------
# tracingEnabled: write per-environment execution trace log files.
# tracingLogDirectory: directory where trace log files are written.
# · Local run : use a relative path, e.g. "logs"
# (resolved relative to the karpfen-runtime/ directory).
# · Docker run: set to "/app/logs" – this is the
# container-side mount point that run_docker.sh maps to
# a directory on the host, so trace files persist after
# the container is removed.
# tracingConsoleOutput: also print trace lines to stdout.
# simpleTrace: when true, observatory WebSocket trace messages are
# sent in a compact format (short message, no details map).
engineTracing {
tracingEnabled = false
tracingLogDirectory = "logs"
tracingConsoleOutput = false
simpleTrace = true
}