mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-09 20:58:35 +03:00
small fix
This commit is contained in:
parent
c491dc78ab
commit
ddd8df3b26
@ -77,7 +77,7 @@ class ServiceCacheUpdater(Job):
|
||||
DeployedService.objects.update()
|
||||
# We start filtering out the deployed services that do not need caching at all.
|
||||
whichNeedsCaching = DeployedService.objects.filter(Q(initial_srvs__gt=0) | Q(cache_l1_srvs__gt=0)).filter(max_srvs__gt=0, state=State.ACTIVE,
|
||||
service__provider__maintenance_mode=False)
|
||||
service__provider__maintenance_mode=False)[:]
|
||||
|
||||
# We will get the one that proportionally needs more cache
|
||||
servicesPools = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user