From 26ad4afc18351ae2458ff2fc0ba8411409b2919a Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Sun, 14 Jan 2024 21:47:03 +0700 Subject: [PATCH] chore(apis/websocket): use `config.json` as example config --- apis/websocket/config.json | 9 +++++++++ apis/websocket/docs/1_configuration.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 apis/websocket/config.json diff --git a/apis/websocket/config.json b/apis/websocket/config.json new file mode 100755 index 0000000..9a07cd7 --- /dev/null +++ b/apis/websocket/config.json @@ -0,0 +1,9 @@ +{ + "$schema": "./config.schema.json", + + "address": "127.0.0.1", + "port": 3000, + "ocrConcurrentQueues": 1, + "clientHeartbeatInterval": 5000, + "consoleLogLevel": "log" +} diff --git a/apis/websocket/docs/1_configuration.md b/apis/websocket/docs/1_configuration.md index 76a1736..77e8b11 100644 --- a/apis/websocket/docs/1_configuration.md +++ b/apis/websocket/docs/1_configuration.md @@ -1,6 +1,6 @@ # ⚙️ Configuration -This is the default configuration: +This is the default configuration (provided in [config.json](../config.json)): ```json {