summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-04-09 11:05:18 -0700
committerJhon Honce <jhonce@redhat.com>2020-04-13 08:11:36 -0700
commitf8892e7c6b07cb77979199cf0474ac2af80829fd (patch)
tree8a46fa46124460e7e8602b8d518b184837df01aa /cmd
parent309a7f7d1bbd046b4bd1a961a7e8c5313aa11b8e (diff)
downloadpodman-f8892e7c6b07cb77979199cf0474ac2af80829fd.tar.gz
podman-f8892e7c6b07cb77979199cf0474ac2af80829fd.tar.bz2
podman-f8892e7c6b07cb77979199cf0474ac2af80829fd.zip
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 <jhonce@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/service.go4
1 files changed, 1 insertions, 3 deletions
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 {