bsm / redeo

High-performance framework for building redis-protocol compatible TCP servers/services
Apache License 2.0
438 stars 39 forks source link

Return of TotalConnections and TotalCommands #6

Closed alicebob closed 9 years ago

alicebob commented 9 years ago

The number of processed commands and the count of connections made are not available as plain integer values anymore, only as strings in a more general info string. This PR re-introduces them.

I used them in https://github.com/alicebob/miniredis/blob/master/miniredis.go#L186 and https://github.com/alicebob/miniredis/blob/master/miniredis.go#L202