[pve-devel] [RFC PATCH 1/2] do not use PVE::API2 in spiceproxy.pm

Dominik Csapak d.csapak at proxmox.com
Wed Aug 9 14:08:25 CEST 2017


we do not need it there and withouth this we save ~30MB memory for
this daemon and its workers

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/Service/spiceproxy.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/PVE/Service/spiceproxy.pm b/PVE/Service/spiceproxy.pm
index 20fd5b24..22a501b0 100755
--- a/PVE/Service/spiceproxy.pm
+++ b/PVE/Service/spiceproxy.pm
@@ -10,7 +10,6 @@ use warnings;
 use PVE::SafeSyslog;
 use PVE::Daemon;
 use PVE::API2Tools;
-use PVE::API2;
 use PVE::HTTPServer;
 
 use base qw(PVE::Daemon);
-- 
2.11.0





More information about the pve-devel mailing list