GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
78 stars 172 forks source link

[Fixes GeoNode#10120] Celery autoscale values are too low and wrongly… #377

Closed afabiani closed 1 year ago

afabiani commented 1 year ago

… positioned

giohappy commented 1 year ago

@afabiani did you verify if the ordering of autoscale values is min,max or max,min. There are contrasting docs, even inside the code itself...

afabiani commented 1 year ago

@afabiani did you verify if the ordering of autoscale values is min,max or max,min. There are contrasting docs, even inside the code itself...

@giohappy for 5.2.7 the documentations says

--autoscale=AUTOSCALE
     Enable autoscaling by providing
     max_concurrency,min_concurrency.  Example:
       --autoscale=10,3 (always keep 3 processes, but grow to
      10 if necessary).
giohappy commented 1 year ago

So the suspect was correct. With the previous autoscale we were capping to 2, that's why it didn't scale...