Skip to content

Commit

Permalink
minor comment adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
ctheune committed Oct 11, 2024
1 parent 20bb562 commit 610cfa5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/fc/qemu/hazmat/guestagent.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 610cfa5

Please sign in to comment.