From f8892e7c6b07cb77979199cf0474ac2af80829fd Mon Sep 17 00:00:00 2001 From: Jhon Honce Date: Thu, 9 Apr 2020 11:05:18 -0700 Subject: Refactor service idle support * Move connection tracking into APIServer using ConnState() * Remove Connection counters from CLI code * Update events handler to support client not closing connection * Improve logging messages Fixes #5599 Signed-off-by: Jhon Honce --- cmd/podman/service.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cmd/podman') diff --git a/cmd/podman/service.go b/cmd/podman/service.go index 41ec499a1..0280b01a4 100644 --- a/cmd/podman/service.go +++ b/cmd/podman/service.go @@ -155,9 +155,7 @@ func runREST(r *libpod.Runtime, uri string, timeout time.Duration) error { } }() - err = server.Serve() - logrus.Debugf("%d/%d Active connections/Total connections\n", server.ActiveConnections, server.TotalConnections) - return err + return server.Serve() } func runVarlink(r *libpod.Runtime, uri string, timeout time.Duration, c *cliconfig.ServiceValues) error { -- cgit v1.2.3-54-g00ecf