forked from shaba/openuds
Now machines does not locks forever.... (fix)
This commit is contained in:
parent
8af6cc008b
commit
52f8dc7fde
@ -152,7 +152,7 @@ class IPMachinesService(IPServiceBase):
|
||||
# Search first unassigned machine
|
||||
try:
|
||||
now = getSqlDatetimeAsUnix()
|
||||
consideredFreeTime = now - config.GlobalConfig.SESSION_EXPIRE_TIME.getInt(force=False) * 24
|
||||
consideredFreeTime = now - config.GlobalConfig.SESSION_EXPIRE_TIME.getInt(force=False) * 3600
|
||||
for ip in self._ips:
|
||||
theIP = ip.split('~')[0]
|
||||
locked = self.storage.getPickle(theIP)
|
||||
|
Loading…
Reference in New Issue
Block a user