Listen on public interface for test benchmark
This commit is contained in:
@@ -6,7 +6,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
BUILD_DIR="build"
|
BUILD_DIR="build"
|
||||||
CONFIG="test_benchmark_config.toml"
|
CONFIG="test_benchmark_config.toml"
|
||||||
DURATION=30
|
DURATION=120
|
||||||
|
|
||||||
if [ ! -d "$BUILD_DIR" ]; then
|
if [ ! -d "$BUILD_DIR" ]; then
|
||||||
echo "Error: build directory '$BUILD_DIR' not found. Build the project first." >&2
|
echo "Error: build directory '$BUILD_DIR' not found. Build the project first." >&2
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
[server]
|
[server]
|
||||||
# Network interfaces to listen on - both TCP for external access and Unix socket for high-performance local testing
|
# Network interfaces to listen on - both TCP for external access and Unix socket for high-performance local testing
|
||||||
interfaces = [
|
interfaces = [
|
||||||
{ type = "tcp", address = "127.0.0.1", port = 8080 },
|
{ type = "tcp", address = "0.0.0.0", port = 8123 },
|
||||||
{ type = "unix", path = "weaseldb.sock" }
|
{ type = "unix", path = "weaseldb.sock" }
|
||||||
]
|
]
|
||||||
# Maximum request size in bytes (for 413 Content Too Large responses)
|
# Maximum request size in bytes (for 413 Content Too Large responses)
|
||||||
|
|||||||
Reference in New Issue
Block a user