#718: Ampliar a 1 minuto el timeout para obtener datos de red en la activación del OGAgent, para uso en redes con servidor DHCP lento.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5475 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/oglive
ramon 2017-10-23 09:08:36 +00:00
parent 97a3b4e482
commit e37d561c50
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@ class OpenGnSysWorker(ServerWorker):
self.cmd = None
# Ensure cfg has required configuration variables or an exception will be thrown
self.REST = REST(self.service.config.get('opengnsys', 'remote'))
# Get network interfaces until they are active or timeout (30 sec)
for t in range(0, 30):
# Get network interfaces until they are active or timeout (1 minute)
for t in range(0, 60):
try:
self.interface = list(operations.getNetworkInfo())[0] # Get first network interface
except Exception as e: