younifyd
Menu

Set global quotas

Set global quotas

PUT/quotas

Use it in a workflow

  1. Add a step and choose the Qdrant connector.
  2. Pick the Set global quotas action (under Quotas).
  3. Fill in the fields below, then reference the result from later steps as {{setGlobalQuotas.response.data}}.

Request

Query parameters

waitboolean

If true, wait until the new configuration is confirmed by consensus on this peer. If false - the request returns as soon as the change is proposed.

Default false

Request body

Enter the body as JSON in the step's Body field.

enabledboolean

Whether the limits below are enforced.

Default false

max_resident_memory_percentinteger (uint8)

Reject memory-consuming updates once process resident memory reaches this percentage of total system memory (or of the cgroup limit, if one applies).

max_disk_usage_percentinteger (uint8)

Reject disk-consuming updates once the filesystem hosting the storage directory is filled to this percentage of its capacity.

release_margin_percentinteger (uint8)

How many percentage points below its limit a resource has to fall before this node starts accepting work again. Without a margin, a resource resting on its limit crosses it in both directions on the noise between two readings, putting the node in and out of service each time — and restarting a shard recovery with it. Raise it where usage is volatile; `0` disables the margin and releases as soon as usage is back under the limit. Unset leaves the built-in default in force, so a config written today does not pin a number that a later release may want to revise.

json
{
  "enabled": false,
  "max_resident_memory_percent": 0,
  "max_disk_usage_percent": 0,
  "release_margin_percent": 0
}

Response

Returns 200 with an object. Read it in later steps with {{setGlobalQuotas.response.data.<field>}}.

usageoneOf

Default null

timenumber (float)

Time spent to process this request

statusstring
resultboolean
json
{
  "usage": null,
  "time": 0.002,
  "status": "ok",
  "result": false
}

Need more? See the Qdrant guide for connection setup and behaviour shared by every action.

Was this page helpful?
Set global quotas — Qdrant — Documentation