AutoHealPolicy
AutoHealPolicy objectWhat the panel does by itself with overloads (ADR 0091, 0092)
site_modestring requiredAllowed values:"off""throttle""recycle""both"internal_modestring optionalThe same for sites without a plan, the provider's own and a reseller's own (ADR 0122); absent is both
Allowed values:"off""throttle""recycle""both"cpu_percentinteger required- minimum 10
- maximum 100
memory_mbinteger required- minimum 128
- maximum 65536
queue_activeinteger requiredRequests waiting with none served in the minute
- minimum 1
- maximum 10000
minutesinteger required- minimum 2
- maximum 60
throttle_percentinteger required- minimum 5
- maximum 90
recover_minutesinteger required- minimum 2
- maximum 120
cooldown_minutesinteger required- minimum 1
- maximum 120
max_per_hourinteger required- minimum 1
- maximum 20
servicesobject required
Used by
| GET | /api/v1/tenants/{tid}/autoheal-policy | What the panel does by itself with overloaded sites and services (ADR 0091, 0092) |
| PUT | /api/v1/tenants/{tid}/autoheal-policy | Replace the policy (server.manage) |