Skip to main content

Bandwidth gate

Caps the per-stream download speed. The gate never blocks. It picks the speed cap for the viewer and hands it to the response stream, which throttles the bytes as they go out.

How the cap is picked

The gate looks at three places, in order, and uses the first one that has a non-zero value:

  1. The Bandwidth cap (KB/s) permission on the viewer's user groups. The highest non-zero value across their groups wins.
  2. The global Default bandwidth cap.
  3. No cap. The stream runs at full speed.

Setting the per-group permission to -1 is treated as "no cap" and short-circuits the lookup.

Global cap

SettingDefaultWhat it does
Default bandwidth cap0 KB/sDefault per-stream speed cap. 0 disables throttling for users whose group does not set its own value.

Per-group cap

Set Bandwidth cap (KB/s) on the Downloads user permission group, per user group. A premium tier might be uncapped while guests are throttled to 100 KB/s.

Concurrent streams

The cap applies to each stream individually, not to the user as a whole. A visitor who opens five concurrent downloads gets the cap on each one, so the total bandwidth is 5 * cap. To cap concurrent activity, combine this with the rate limit gate.

Preview

Previews are not throttled.