Skip to content

A platform for community discussion. Free, open, simple.

DEV: increase timeout for initial context eval

Sam Saffron145c90419d4f
diff --git a/lib/pretty_text.rb b/lib/pretty_text.rb
index d76e2ed827b..55faf8d4c11 100644
--- a/lib/pretty_text.rb
+++ b/lib/pretty_text.rb
@@ -62,7 +62,7 @@ module PrettyText
end
def self.create_es6_context
- ctx = MiniRacer::Context.new(timeout: 15000)
+ ctx = MiniRacer::Context.new(timeout: 25000)
ctx.eval("window = {}; window.devicePixelRatio = 2;") # hack to make code think stuff is retina