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:
parent
26c6b559a5
commit
4fceb8609f
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user