mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-03 01:17:56 +03:00
Refactor UserServiceManager to raise MaxServicesReachedError when the maximum number of preparing services is reached
This commit is contained in:
parent
e1c68f3895
commit
418e1f7c0b
@ -209,7 +209,7 @@ class UserServiceManager(metaclass=singleton.Singleton):
|
||||
operations_logger.info(
|
||||
'Too many preparing services. Creation of assigned service denied by max preparing services parameter. (login storm with insufficient cache?).'
|
||||
)
|
||||
raise ServiceNotReadyError()
|
||||
raise MaxServicesReachedError()
|
||||
|
||||
if service_pool.service.get_type().publication_type is not None:
|
||||
publication = service_pool.active_publication()
|
||||
|
Loading…
Reference in New Issue
Block a user