Wait longer for a reponse from fdesetup so the client doesn't timeout too fast

This commit is contained in:
Greg Neagle
2025-01-17 10:48:17 -08:00
parent 2b1fba27f9
commit 7da1b832d0
+1 -1
View File
@@ -55,7 +55,7 @@ class AuthRestartClient(object):
'''Send a request to authrestartd'''
self.socket.send(writePlistToString(request))
# use select so we don't hang indefinitely if authrestartd dies
ready = select.select([self.socket.fileno()], [], [], 2)
ready = select.select([self.socket.fileno()], [], [], 10)
if ready[0]:
reply = self.socket.recv(8192).decode("UTF-8")
else: