mirror of
https://github.com/gusaul/grpcox.git
synced 2025-02-26 09:25:37 +00:00
Update README.md
This commit is contained in:
parent
5026c0a359
commit
63bb2a0d2c
14
README.md
14
README.md
|
@ -15,5 +15,19 @@ from terminal, move to grpcox directory, then run command
|
|||
docker-compose up
|
||||
```
|
||||
|
||||
configure app preferences by editing `config.env` file
|
||||
|
||||
| var | usage | type | unit |
|
||||
|-----------------|---------------------------------------------|--------|--------|
|
||||
| MAX_LIFE_CONN | maximum idle time connection before closed | number | minute |
|
||||
| TICK_CLOSE_CONN | ticker interval to sweep expired connection | number | second |
|
||||
|
||||
set value `0 (zero)` to disable auto close idle connection.
|
||||
|
||||
then you can rebuild app by execute command
|
||||
```shell
|
||||
docker-compose up --build
|
||||
```
|
||||
|
||||
## Demo
|
||||

|
||||
|
|
Loading…
Reference in New Issue
Block a user