Skip to content

basalt / drives/src / DEFAULT_NOTIFICATION_MAX_BYTES

Variable: DEFAULT_NOTIFICATION_MAX_BYTES ​

> const DEFAULT_NOTIFICATION_MAX_BYTES: number

Defined in: drives/src/routes.ts:76

Most bytes of a notification body that will be read.

All three vendors send a payload measured in hundreds of bytes. The cap is what stops an unauthenticated endpoint from being a memory amplifier, and it is applied before the signature is checked because reading is what costs.

Released under the MIT License.