You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Devin Reid (JIRA)" <ji...@codehaus.org> on 2013/10/10 15:48:52 UTC

[jira] (DOXIA-498) PegDownProcessor parsing timeout makes builds non-deterministic.

Devin Reid created DOXIA-498:
--------------------------------

             Summary: PegDownProcessor parsing timeout makes builds non-deterministic.
                 Key: DOXIA-498
                 URL: https://jira.codehaus.org/browse/DOXIA-498
             Project: Maven Doxia
          Issue Type: Bug
          Components: Module - Markdown
    Affects Versions: 1.4
         Environment: Linux, Oracle Java 1.7.0_25
            Reporter: Devin Reid
            Priority: Critical


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira