You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Fun little "the team's builds just started to hang for no reason" mayday after enabling no-http-string. Turns out we had a file with a serialized JSON string 1,466,450 characters long (don't ask). Hanging seems to start whenever a string is over about 200k characters.
We tested out using a simple indexOf instead of the regular expression and it stopped hanging.
The text was updated successfully, but these errors were encountered:
HamletDRC
changed the title
no-http-string hangs on ridiculously huge (JSON?) strings
no-http-string rule should support very large source files and string input
Mar 16, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Fun little "the team's builds just started to hang for no reason" mayday after enabling
no-http-string
. Turns out we had a file with a serialized JSON string 1,466,450 characters long (don't ask). Hanging seems to start whenever a string is over about 200k characters.We tested out using a simple
indexOf
instead of the regular expression and it stopped hanging.The text was updated successfully, but these errors were encountered: