- From: Shunya Shishido <notifications@github.com>
- Date: Thu, 30 Jan 2025 18:21:56 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 31 January 2025 02:22:00 UTC
Created https://github.com/w3c/ServiceWorker/pull/1752 to address this issue. Formerly I suggested 256 for the max length of rules and 10 is the max depth, but I realized this makes exponential if 256 router conditions to the 10th power, which is obviously bad. Instead, I'd propose having two types of limits, one is for the total count of registered router conditions, which is counted across all nesting levels. The other one is the max depth of nesting. I propose 1024 to the former one, 10 to the latter one. We need to dig into more, but those are reasonable limits based on the current usage in Chrome. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1746#issuecomment-2626158821 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1746/2626158821@github.com>
Received on Friday, 31 January 2025 02:22:00 UTC