Skip to content

Commit eee8376

Browse files
committed
Update README.md
1 parent 93313e1 commit eee8376

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

README.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,40 @@ Edit Settings by environment variables or by command line arguments.
7373

7474
```
7575
--url=<URL> URL to the websocket server.
76+
[env: URL] [default: wss://cluster.vtbs.moe]
77+
7678
--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+
7790
--anonymous Do not send platform info to the server.
91+
[env: HIDE]
92+
7893
--nickname=<name> Use a nickname. [env: NICKNAME]
7994
--verbose Be more verbose. [env: VERBOSE]
8095
```
8196

8297
#### ENV:
8398

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 |
92110

93111
\* giving any value will make it `true`
94112

0 commit comments

Comments
 (0)