Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.4
-
None
-
Linux, Oracle Java 1.7.0_25
Description
Parsing timeout given to PegDownProcessor should be set to Long.MAX_VALUE. The default value is 2000 (2 seconds) which means that builds of large sites will spuriously fail when built on slower computers.
The parsing timeout is a security feature for use when offering Markdown parsing as a service taking user input, since this use case doesn't apply to a Maven build setting the timeout to Long.MAX_VALUE effectively disables the timeout.