discourse/config/initializers/100-regex-timeout.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
139 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Regexp.timeout =
GlobalSetting.regex_timeout_seconds.to_i if GlobalSetting.regex_timeout_seconds.present?