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

2017-08-10 Thread Fabian Grünbichler
On Wed, Aug 09, 2017 at 06:17:20PM +0200, Dietmar Maurer wrote: > Looks quite strange to me, because PVE::HTTPServer calls: > > PVE::API2->find_handler > > so we should use PVE::API2 in PVE::HTTPServer? > > Not sure why it works without?? > it does, but only in rest_handler, which AFAICT, is

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

2017-08-09 Thread Dietmar Maurer
Looks quite strange to me, because PVE::HTTPServer calls: PVE::API2->find_handler so we should use PVE::API2 in PVE::HTTPServer? Not sure why it works without?? > On August 9, 2017 at 2:08 PM Dominik Csapak wrote: > > > we do not need it there and withouth this we

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

2017-08-09 Thread Dominik Csapak
we do not need it there and withouth this we save ~30MB memory for this daemon and its workers Signed-off-by: Dominik Csapak --- PVE/Service/spiceproxy.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/PVE/Service/spiceproxy.pm b/PVE/Service/spiceproxy.pm index