From 610cfa53bad02ba3644c62511a33ca8b928583b2 Mon Sep 17 00:00:00 2001 From: Christian Theune Date: Fri, 11 Oct 2024 17:24:02 +0200 Subject: [PATCH] minor comment adjustment --- src/fc/qemu/hazmat/guestagent.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fc/qemu/hazmat/guestagent.py b/src/fc/qemu/hazmat/guestagent.py index 9257097..109e86d 100644 --- a/src/fc/qemu/hazmat/guestagent.py +++ b/src/fc/qemu/hazmat/guestagent.py @@ -74,11 +74,11 @@ def sync(self): json.dumps({"execute": "guest-fsfreeze-thaw"}).encode("utf-8") ) - # Phase 2: clear the connection buffer from previous connections. - # We set a very short timeout (nonblocking does not help, the kernel - # needs a little time to give access to the data already buffered). - # However, we want to keep it as short as possible because this timeout - # will always happen in the happy case which is most of the time. + # Phase 2: clear the connection buffer from previous connections. We + # set a very short timeout because the guest agent might still be + # stuck trying to send a response to a client that went away. However, + # we want to keep it as short as possible because this timeout will + # always happen in the happy case which is most of the time. self.client.settimeout(1) self.log.debug("clear-buffer") try: