Repository navigation
Expand file tree
/
Copy pathember.example.toml
More file actions
93 lines (70 loc) · 4.1 KB
/
Copy pathember.example.toml
File metadata and controls
93 lines (70 loc) · 4.1 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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
# ember configuration
#
# all values shown are the defaults. uncomment and modify as needed.
# load with: ember-server --config ember.toml
#
# resolution order: defaults -> config file -> env vars -> CLI flags
# env vars use the EMBER_ prefix (e.g., EMBER_PORT=7777)
# --- server ---
# bind = "127.0.0.1" # address to listen on
# port = 6379 # data port
# shards = 0 # worker threads (0 = auto-detect CPU cores)
# requirepass = "" # require AUTH before commands (empty = disabled)
# aclfile = "" # file of "user <name> <rules...>" lines loaded at startup
# data-dir = "" # directory for AOF/snapshot files
# --- connections ---
# maxclients = 10000 # max simultaneous client connections
# idle-timeout-secs = 300 # close connections idle, or not reading replies, for N seconds (0 = never)
# max-pipeline-depth = 10000 # max pipelined commands per connection
# max-auth-failures = 10 # disconnect after N failed AUTH attempts
# --- memory ---
# maxmemory = "" # memory limit (e.g., "256mb", "1gb"; empty = unlimited)
# maxmemory-policy = "noeviction" # eviction policy: "noeviction" or "allkeys-lru"
# --- persistence ---
# appendonly = false # enable append-only file logging
# appendfsync = "everysec" # fsync policy: "always", "everysec", "no"
# active-expiry-interval-ms = 100 # background expiry sweep interval
# aof-fsync-interval-secs = 1 # fsync interval when appendfsync = "everysec"
# save-interval-secs = 0 # background save every N seconds (0 = disabled)
# encryption-key-file = "" # 32-byte key that encrypts the AOF and snapshots (encryption builds)
# --- monitoring ---
# metrics-port = 0 # prometheus /metrics and /health HTTP port (0 = disabled)
# slowlog-log-slower-than = 10000 # log commands slower than N microseconds (-1 = disabled)
# slowlog-max-len = 128 # max entries in the slow log ring buffer
# --- tls ---
# tls-port = 0 # TLS listener port (0 = disabled)
# tls-cert-file = "" # path to server certificate (PEM)
# tls-key-file = "" # path to server private key (PEM)
# tls-ca-cert-file = "" # CA cert for client verification (PEM)
# tls-auth-clients = "no" # require client certificates ("yes" or "no")
# --- notifications ---
# notify-keyspace-events = "" # keyspace event classes to publish, as in Redis (e.g. "KEA")
# --- protobuf and grpc ---
# protobuf = false # enable PROTO.* commands (protobuf builds)
# grpc-port = 6380 # gRPC listener port, 0 = disabled (grpc builds)
# --- protocol limits ---
# max-key-len = "512kb" # maximum key size
# max-value-len = "512mb" # maximum value size
# max-subscriptions-per-connection = 10000
# max-pattern-len = 256 # max glob pattern length for PSUBSCRIBE
# read-buffer-capacity = 4096 # initial read buffer size per connection
# max-buffer-size = "64mb" # max read buffer growth per connection
# --- cluster ---
# [cluster]
# enabled = false # enable cluster mode
# bootstrap = false # bootstrap as single-node cluster owning all slots
# port-offset = 10000 # gossip bus port = data port + offset
# node-timeout-ms = 5000 # failure detection timeout
# auth-pass = "" # HMAC-SHA256 shared secret for gossip and replication (required off loopback)
# [cluster.gossip]
# protocol-period-ms = 1000 # SWIM protocol period
# probe-timeout-ms = 0 # direct probe timeout (0 = half of node-timeout-ms)
# suspicion-multiplier = 5 # suspicion duration multiplier
# indirect-probes = 3 # number of indirect probes
# max-piggyback = 10 # max piggybacked updates per message
# --- engine internals ---
# (you probably don't need to change these)
# [engine]
# shard-channel-buffer = 256 # bounded channel size per shard
# replication-broadcast-capacity = 65536
# stats-poll-interval-secs = 5 # how often to poll shards for metrics