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:
commit
42a3df5c82
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user