Closed pirDOL closed 3 years ago
Long connection is always used for client-side to optimize latency. Is it possible to support close idle connection on server-side(redcon) to avoid too many idle connections?
There's nothing built in that supports auto closing idle connections.
I just pushed this feature. For example:
s := redcon.NewServer(...) s.SetIdleClose(time.Minute*5) s.ListenAndServe()
Long connection is always used for client-side to optimize latency. Is it possible to support close idle connection on server-side(redcon) to avoid too many idle connections?