From b0a253500d8355898286afed1107b292f82f4919 Mon Sep 17 00:00:00 2001 From: Brian Lee Date: Mon, 8 Jan 2024 07:39:31 -0800 Subject: [PATCH] Permit application-specific data in size policy. --- src/policies/size-limit-policy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policies/size-limit-policy.ts b/src/policies/size-limit-policy.ts index fc036bf..c0ec6a1 100644 --- a/src/policies/size-limit-policy.ts +++ b/src/policies/size-limit-policy.ts @@ -21,7 +21,7 @@ interface SizeLimitOptions { */ const sizeLimitPolicy: Policy = ({ event: { id, content, kind } }, opts = {}) => { const { - excludeKinds = [3], // Exclude large events such as contact lists + excludeKinds = [3, 30078], // Exclude large events such as contact lists and app data maxContentSize = 12 * 1024 // Default size limit is 12KB } = opts;