mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
increase es6 transpiler timeout from 5 to 10 sec
This commit is contained in:
parent
2e808ba8ab
commit
8f59917f6b
2 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ module PrettyText
|
|||
|
||||
def self.create_new_context
|
||||
# timeout any eval that takes longer that 5 seconds
|
||||
ctx = V8::Context.new(timeout: 5000)
|
||||
ctx = V8::Context.new(timeout: 10000)
|
||||
|
||||
ctx["helpers"] = Helpers.new
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue