Skip to main content

Module quota_mode_handler

Module quota_mode_handler 

Source
Expand description

Message action quota_mode (SPEC_CHEAPER_FLEET_MESSAGING_2026_10_30.md §5):

  • POST /api/v1/quota-mode: set the fleet’s quota mode (off or tight, and the priority floor) and tell every agent with one bulletin under the key mode, instead of a broadcast to each.
  • GET /api/v1/quota-mode: the mode now.

The setting is settings.json’s fleet:quota_mode and fleet:quota_min_priority (backend::quota_mode); Tasks claim reads it.

Structs§

SetParams

Functions§

bad_request 🔒
current 🔒
handle_get_quota_mode 🔒
GET /api/v1/quota-mode.
handle_set_quota_mode 🔒
POST /api/v1/quota-mode.
notice 🔒
What the bulletin says about a mode.