]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: increase daemon shutdown timer to 2 minutes
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 18 Jul 2019 14:50:42 +0000 (15:50 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 19 Jul 2019 13:33:47 +0000 (14:33 +0100)
commit9d7fcdbf83a162b4c6eff06191403b4f72c42e7b
tree37a821e6628c2a382ef1947672025ed1791c0e9d
parent80d387c62f1ca5ecd706ce5e79080f5d221e84d4
remote: increase daemon shutdown timer to 2 minutes

Shutting down the daemon after 30 seconds of being idle is a little bit
too aggressive. Especially when using 'virsh' in single-shot mode, as
opposed to interactive shell mode, it would not be unusual to have
more than 30 seconds between commands. This will lead to the daemon
shutting down and starting up between a series of commands.

Increasing the shutdown timer to 2 minutes will make it less likely that
the daemon will shutdown while the user is in the middle of a series of
commands.

Reviewed-by: Jim Fehlig <jfehlig@suse.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/remote/libvirtd.service.in
src/rpc/virnetsocket.c