Retry Telebit client connections

This commit is contained in:
Elias Renman
2026-06-26 14:01:58 +02:00
parent 050f1c219c
commit a0650b9fdd
2 changed files with 50 additions and 1 deletions

View File

@@ -136,6 +136,13 @@ telebitctl up app 3000
telebitctl up api 8080
```
`up` restarts the client if the WebSocket connection drops. By default it waits 5 seconds and retries forever. You can tune that with:
```sh
TELEBIT_RETRY_DELAY=10 telebitctl up app 3000
TELEBIT_RETRY_MAX=3 telebitctl up app 3000
```
Rotate the client key:
```sh