()
| 826 | } |
| 827 | |
| 828 | func (s *Server) backendSaturationHints() []string { |
| 829 | out := make([]string, 0) |
| 830 | for _, b := range s.cfg.Backends { |
| 831 | if b.MaxConcurrency > 0 { |
| 832 | out = append(out, fmt.Sprintf("%s:max_concurrency=%d", b.Name, b.MaxConcurrency)) |
| 833 | } |
| 834 | } |
| 835 | return out |
| 836 | } |
| 837 | |
| 838 | func (s *Server) noteTimeoutForScaling(err error) { |
| 839 | if err == nil { |