1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00

Fixed log of pub manager\nModified default config of tunneler\nUpdated actor REST api to not allow less than 30 seconds of "max idle" configuration

This commit is contained in:
Adolfo Gómez García 2015-02-25 17:05:39 +01:00
parent 26c6b559a5
commit 4fceb8609f
3 changed files with 3 additions and 3 deletions

View File

@ -185,7 +185,7 @@ class Api(object):
logger.debug('Got response parameters: {}'.format(res))
self.uuid, self.mac = res[0:2]
self.idle = int(res[2])
if self.idle < 15:
if self.idle < 30:
self.idle = None # No values under 30 seconds are allowed :)
return self.uuid

View File

@ -66,7 +66,7 @@ class PublicationOldMachinesCleaner(DelayedTask):
servicePoolPub.deployed_service.userServices.filter(in_use=True).update(in_use=False, state_date=now)
servicePoolPub.deployed_service.markOldUserServicesAsRemovables(activePub)
except Exception:
logger.info("Machine removal for {0} not executed because publication is already removed")
logger.exception('Trace (treated exception, not fault)')
# Removed provider, no problem at all, no update is done

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>