diff options
author | Jhon Honce <jhonce@redhat.com> | 2020-03-18 09:26:52 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2020-03-18 10:27:25 -0700 |
commit | 651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c (patch) | |
tree | cdc31c30f4a132e79651735b5278bc99b1e26fa2 /pkg/varlinkapi | |
parent | d9eb078e2a1cff73461f285924ab1ab8699e9bca (diff) | |
download | podman-651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c.tar.gz podman-651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c.tar.bz2 podman-651ddd3560c8b6ec2c8e7290f198ce6ad8c97b9c.zip |
Reduce CPU usage when --timeout=0
* Add second go routine for when a Timer is not needed.
* goimports updated some project files
Fixes #5531
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r-- | pkg/varlinkapi/system.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/system.go b/pkg/varlinkapi/system.go index 50aaaaa44..e88d010c5 100644 --- a/pkg/varlinkapi/system.go +++ b/pkg/varlinkapi/system.go @@ -10,7 +10,7 @@ import ( "time" "github.com/containers/image/v5/pkg/sysregistriesv2" - "github.com/containers/libpod/cmd/podman/varlink" + iopodman "github.com/containers/libpod/cmd/podman/varlink" "github.com/containers/libpod/libpod/define" "github.com/sirupsen/logrus" ) |