add option for max connection (#112)

add option for max connection
This commit is contained in:
Yifa Zhang 2016-08-13 15:29:21 +08:00 committed by Iwasaki Yudai
parent 54597c0ba6
commit be07d420dd
4 changed files with 31 additions and 2 deletions

3
.gotty
View file

@ -54,6 +54,9 @@
// To enable reconnection, set `true` to `enable_reconnect`
// reconnect_time = false
// [int] Maximum connection to gotty, 0(default) means no limit.
// max_connection = 0
// [bool] Accept only one client and exit gotty once the client exits
// once = false