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

Fixed meta pool transport priority

This commit is contained in:
Adolfo Gómez García 2022-12-13 13:15:57 +01:00
parent d22f606f49
commit 6081122311
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -1020,12 +1020,12 @@ class UserServiceManager(metaclass=singleton.Singleton):
found = None
t: Transport
if idTransport == 'meta': # Autoselected:
q = pool.transports.all().order_by('priority')
q = pool.transports.all()
elif idTransport[:6] == 'LABEL:':
q = pool.transports.filter(label=idTransport[6:])
else:
q = pool.transports.filter(uuid=idTransport)
for t in q:
for t in q.order_by('priority'):
typeTrans = t.getType()
if (
typeTrans