amplitude / Amplitude-TypeScript

TypeScript Amplitude Analytics SDK
https://amplitude.github.io/Amplitude-TypeScript/
MIT License
129 stars 36 forks source link

fix(autocapture): prevent potential memory exhaustion when generating combinations #863

Closed Dogfalo closed 3 weeks ago

Dogfalo commented 4 weeks ago

Summary

This change mirrors this PR in the upstream library: https://github.com/antonmedv/finder/pull/84 This prevents a scenario where a very large number of combinations are generated and causes memory exhaustion.

Checklist