Skip to content
Snippets Groups Projects
Unverified Commit e22eff89 authored by Claire's avatar Claire Committed by GitHub
Browse files

Remove regexp timeout feature (#32169)

parent 431b3825
No related branches found
No related tags found
No related merge requests found
# frozen_string_literal: true
# 2s is a fairly high default, but that should account for slow servers under load
Regexp.timeout = ENV.fetch('REGEXP_TIMEOUT', 2).to_f if Regexp.respond_to?(:timeout=)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment