mirror of
https://github.com/dkmstr/openuds.git
synced 2025-08-15 01:50:03 +03:00
Added multiple ip service maxDeployed calc
This commit is contained in:
@ -147,6 +147,9 @@ class IPMachinesService(IPServiceBase):
|
||||
if values[0] == b'v4':
|
||||
self._skipTimeOnFailure = int(values[3].decode())
|
||||
|
||||
# Sets maximum services for this
|
||||
self.maxDeployed = len(self._ips)
|
||||
|
||||
def getUnassignedMachine(self) -> typing.Optional[str]:
|
||||
# Search first unassigned machine
|
||||
try:
|
||||
|
Reference in New Issue
Block a user