mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-21 09:34:08 +03:00
fixed cache usage check in ServicePool to include initial servers
This commit is contained in:
parent
2f5e8c5f53
commit
f6f7f7d7b5
@ -248,7 +248,7 @@ class ServicePool(UUIDModel, TaggingMixin):
|
||||
|
||||
@property
|
||||
def uses_cache(self) -> bool:
|
||||
return self.cache_l1_srvs > 0 or self.cache_l2_srvs > 0
|
||||
return self.cache_l1_srvs > 0 or self.cache_l2_srvs > 0 or self.initial_srvs > 0
|
||||
|
||||
@property
|
||||
def visual_name(self) -> str:
|
||||
|
Loading…
Reference in New Issue
Block a user