1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Merge remote-tracking branch 'origin/v1.7'

This commit is contained in:
Adolfo Gómez García 2015-04-29 17:19:55 +02:00
commit 42a3df5c82

View File

@ -291,7 +291,10 @@ class UDSActorSvc(win32serviceutil.ServiceFramework, CommonService):
pythoncom.PumpWaitingMessages()
if counter >= 60: # Once every minute
counter = 0
self.checkIpsChanged()
try:
self.checkIpsChanged()
except Exception as e:
logger.error('Error checking ip change: {}'.format(e))
# In milliseconds, will break
win32event.WaitForSingleObject(self.hWaitStop, 1000)