WIP
This commit is contained in:
28
test_config.toml
Normal file
28
test_config.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
# WeaselDB Configuration File
|
||||
|
||||
[server]
|
||||
unix_socket_path = "weaseldb.sock"
|
||||
bind_address = "127.0.0.1"
|
||||
port = 8080
|
||||
# Maximum request size in bytes (for 413 Content Too Large responses)
|
||||
max_request_size_bytes = 1048576 # 1MB
|
||||
# Number of accept threads for handling incoming connections
|
||||
accept_threads = 2
|
||||
# Number of network I/O threads for epoll processing
|
||||
network_threads = 8
|
||||
# Event batch size for epoll processing
|
||||
event_batch_size = 32
|
||||
|
||||
[commit]
|
||||
# Minimum length for request_id to ensure sufficient entropy
|
||||
min_request_id_length = 20
|
||||
# How long to retain request IDs for /v1/status queries (hours)
|
||||
request_id_retention_hours = 24
|
||||
# Minimum number of versions to retain request IDs
|
||||
request_id_retention_versions = 100000000
|
||||
|
||||
[subscription]
|
||||
# Maximum buffer size for unconsumed data in /v1/subscribe (bytes)
|
||||
max_buffer_size_bytes = 10485760 # 10MB
|
||||
# Interval for sending keepalive comments to prevent idle timeouts (seconds)
|
||||
keepalive_interval_seconds = 30
|
||||
Reference in New Issue
Block a user