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:
parent
d22f606f49
commit
6081122311
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user