| 1062 | if _, ok := fields["default_worker_ttl"]; ok { |
| 1063 | merged.DefaultWorkerTTL = updates.DefaultWorkerTTL |
| 1064 | } |
| 1065 | if _, ok := fields["default_worker_min_hot_idle"]; ok { |
| 1066 | merged.DefaultWorkerMinHotIdle = updates.DefaultWorkerMinHotIdle |
| 1067 | } |
| 1068 | // Hot-idle pool caps: present-in-payload wins, including an explicit |
| 1069 | // 0 / "" which clears the cap back to unlimited. |
| 1070 | if _, ok := fields["max_hot_idle_workers"]; ok { |
| 1071 | merged.MaxHotIdleWorkers = updates.MaxHotIdleWorkers |
| 1072 | } |
| 1073 | if _, ok := fields["max_hot_idle_cpu"]; ok { |
| 1074 | merged.MaxHotIdleCPU = updates.MaxHotIdleCPU |
| 1075 | } |
| 1076 | if _, ok := fields["max_hot_idle_memory"]; ok { |