API referenceSections

AutoHealPolicy

AutoHealPolicy object

What the panel does by itself with overloads (ADR 0091, 0092)

  • site_mode string required
    Allowed values: "off" "throttle" "recycle" "both"
  • internal_mode string optional

    The 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_percent integer required
    • minimum 10
    • maximum 100
  • memory_mb integer required
    • minimum 128
    • maximum 65536
  • queue_active integer required

    Requests waiting with none served in the minute

    • minimum 1
    • maximum 10000
  • minutes integer required
    • minimum 2
    • maximum 60
  • throttle_percent integer required
    • minimum 5
    • maximum 90
  • recover_minutes integer required
    • minimum 2
    • maximum 120
  • cooldown_minutes integer required
    • minimum 1
    • maximum 120
  • max_per_hour integer required
    • minimum 1
    • maximum 20
  • services object required

Used by

GET/api/v1/tenants/{tid}/autoheal-policyWhat the panel does by itself with overloaded sites and services (ADR 0091, 0092)
PUT/api/v1/tenants/{tid}/autoheal-policyReplace the policy (server.manage)