@@ -73,22 +73,40 @@ Edit Settings by environment variables or by command line arguments.
73
73
74
74
```
75
75
--url=<URL> URL to the websocket server.
76
+ [env: URL] [default: wss://cluster.vtbs.moe]
77
+
76
78
--interval=<time> Interval to pull tasks (ms).
79
+ [env: INTERVAL] [default: 1280]
80
+
81
+ --ws-limit=<limit> Limit of WebSocket connections to live.bilibili.com.
82
+ [env: LIMIT]
83
+
84
+ --uuid=<uuid> UUID for stats tracking.
85
+ [env: UUID]
86
+
87
+ --no-dns-cache Disable DNS cache
88
+ [env: NO_DNS_CACHE]
89
+
77
90
--anonymous Do not send platform info to the server.
91
+ [env: HIDE]
92
+
78
93
--nickname=<name> Use a nickname. [env: NICKNAME]
79
94
--verbose Be more verbose. [env: VERBOSE]
80
95
```
81
96
82
97
#### ENV:
83
98
84
- | ENV | Default | Document |
85
- | -------- | ------------------------ | ------------------------------------------------------------ |
86
- | URL | ` wss://cluster.vtbs.moe ` | Upstream URL |
87
- | INTERVAL | ` 480 ` | Task interval in ms |
88
- | HIDE | ` false ` * | hide all extra information including platform, client version, Node.js runtime version, docker status ** |
89
- | NICKNAME | ` undefined ` | A optional nickname to display on statistics board (in progress). |
90
- | Docker | Depends | Is Docker environment? |
91
- | VERBOSE | ` false ` * | Verbose log |
99
+ | ENV | Default | Document |
100
+ | ------------ | ------------------------ | ------------------------------------------------------------ |
101
+ | URL | ` wss://cluster.vtbs.moe ` | Upstream URL |
102
+ | INTERVAL | ` 1280 ` | Task interval in ms |
103
+ | LIMIT | ` Infinity ` | Live room relay WebSocket connections |
104
+ | UUID | ` undefined ` | stats tracking |
105
+ | NO_DNS_CACHE | ` false ` * | Disable internal DNS cache |
106
+ | HIDE | ` false ` * | hide all extra information including platform, client version, Node.js runtime version, docker status ** |
107
+ | NICKNAME | ` undefined ` | A optional nickname to display on statistics board (in progress). |
108
+ | Docker | Depends | Is Docker environment? |
109
+ | VERBOSE | ` false ` * | Verbose log |
92
110
93
111
\* giving any value will make it ` true `
94
112
0 commit comments