diff options
author | ramon <ramongomez@us.es> | 2017-10-23 09:08:36 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-10-23 09:08:36 +0000 |
commit | 1c8432246db7e9199a65d6e3ec524dfa3e91873b (patch) | |
tree | cacc7eebb1462531fb1d894c1d464c7b193198de /admin | |
parent | e3682263fe9bbf5f64bcc611ee7cc1544cb8ee6e (diff) |
#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
Diffstat (limited to 'admin')
-rw-r--r-- | admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py b/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py index 2fb33c7c..3979fda5 100644 --- a/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py +++ b/admin/Sources/Clients/ogagent/src/opengnsys/modules/server/OpenGnSys/__init__.py @@ -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: |