,self.max_concurrent)elifavg_concurrency<reserved*(1-self.scaling_threshold):return'scale_down',max(reserved